diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 000000000..2d22f4f94 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + + -experimental:preprocessor %(AdditionalOptions) + + + diff --git a/azure/pipeline.yml b/azure/pipeline.yml index b96113b66..5ebcf84a3 100644 --- a/azure/pipeline.yml +++ b/azure/pipeline.yml @@ -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 @@ -26,6 +27,7 @@ jobs: Release: configuration: Release publish: true + msBuildArgs: ${{ variables.vc142MsBuildArgs }} name: vs2019_v142 platform: Win32 solution: ${{ variables.solution }}