Skip to content

Commit

Permalink
Merge pull request #326 from reupen/use-old-compiler-on-azure
Browse files Browse the repository at this point in the history
Use older VC tool set version on Azure Pipelines
  • Loading branch information
reupen authored Aug 27, 2020
2 parents 0bb5f2d + 4a1d2a3 commit 012a00e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<ItemDefinitionGroup Condition="$(VCToolsVersion) &lt; 14.26">
<ClCompile>
<AdditionalOptions>-experimental:preprocessor %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
2 changes: 2 additions & 0 deletions azure/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variables:
solution: vc16/columns_ui-public.sln
llvmMsBuildArgs: /p:PlatformToolset=ClangCL;UseLldLink=True;VcpkgAutoLink=False;WholeProgramOptimization=False;SpectreMitigation=
vc142MsBuildArgs: /p:VCToolsVersion=14.25.28610
vcpkgInstallArgs: 'ms-gsl range-v3 wil --overlay-ports=$(System.DefaultWorkingDirectory)\ports'
jobs:
- template: job-build.yml
Expand All @@ -26,6 +27,7 @@ jobs:
Release:
configuration: Release
publish: true
msBuildArgs: ${{ variables.vc142MsBuildArgs }}
name: vs2019_v142
platform: Win32
solution: ${{ variables.solution }}
Expand Down

0 comments on commit 012a00e

Please sign in to comment.