diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-01-13 19:29:23 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-01-13 19:29:23 -0600 |
| commit | 42a8a6a81253770748f26795fd09a8edd1ffca96 (patch) | |
| tree | 95bca42505daf118331481f1735b7ed3412de219 /src | |
| parent | ea864b56d115e4f7a7205827ecaaba0e1db81d41 (diff) | |
| download | wix-42a8a6a81253770748f26795fd09a8edd1ffca96.tar.gz wix-42a8a6a81253770748f26795fd09a8edd1ffca96.tar.bz2 wix-42a8a6a81253770748f26795fd09a8edd1ffca96.zip | |
Update to latest Cpp.Build.props for locating latest Win10 SDK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Cpp.Build.props | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props index 296b36ca..0e00132b 100644 --- a/src/Cpp.Build.props +++ b/src/Cpp.Build.props | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> | 8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> |
| 9 | </PropertyGroup> | 9 | </PropertyGroup> |
| 10 | 10 | ||
| 11 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' AND '$(VisualStudioVersion)'=='15.0'"> | ||
| 12 | <WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> | ||
| 13 | </PropertyGroup> | ||
| 14 | |||
| 11 | <ItemDefinitionGroup> | 15 | <ItemDefinitionGroup> |
| 12 | <ClCompile> | 16 | <ClCompile> |
| 13 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> | 17 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> |
| @@ -16,7 +20,7 @@ | |||
| 16 | <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 20 | <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 17 | <PrecompiledHeader>Use</PrecompiledHeader> | 21 | <PrecompiledHeader>Use</PrecompiledHeader> |
| 18 | <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> | 22 | <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> |
| 19 | <CallingConvention>StdCall</CallingConvention> | 23 | <CallingConvention Condition="'$(Platform)'=='Win32'">StdCall</CallingConvention> |
| 20 | <TreatWarningAsError>true</TreatWarningAsError> | 24 | <TreatWarningAsError>true</TreatWarningAsError> |
| 21 | <ExceptionHandling>false</ExceptionHandling> | 25 | <ExceptionHandling>false</ExceptionHandling> |
| 22 | <AdditionalOptions>-YlprecompDefine</AdditionalOptions> | 26 | <AdditionalOptions>-YlprecompDefine</AdditionalOptions> |
