mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:17:50 +08:00
aaa6a031ce
* [python3] Move /MACHINE into MSBuild file. This prevents potential patch application conflicts. * [python3] Add feature deprecated-win7-support. This backports the fix for bpo-39401 from the Python 3.8 branch instead of the one from the Python 3.9 branch, which dropped support for Windows 7. * [python3] Bump port version. * [python3] Fix goof in static patch that omitted pathcch.lib. * x-add-version * [python3] Revert trivial patch changes Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
42 lines
2.3 KiB
XML
42 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemDefinitionGroup>
|
|
<CLCompile>
|
|
<!-- Use vcpkg ports instead of vendored externals -->
|
|
<PreprocessorDefinitions>_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="${VCPKG_LIBRARY_LINKAGE} == 'static'">XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>
|
|
%(AdditionalIncludeDirectories);${CURRENT_INSTALLED_DIR}/include
|
|
</AdditionalIncludeDirectories>
|
|
|
|
<RuntimeLibrary Condition="'${VCPKG_CRT_LINKAGE}|$(Configuration)' == 'static|Debug'">MultiThreadedDebug</RuntimeLibrary>
|
|
<RuntimeLibrary Condition="'${VCPKG_CRT_LINKAGE}|$(Configuration)' == 'static|Release'">MultiThreaded</RuntimeLibrary>
|
|
<RuntimeLibrary Condition="'${VCPKG_CRT_LINKAGE}|$(Configuration)' == 'dynamic|Debug'">MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<RuntimeLibrary Condition="'${VCPKG_CRT_LINKAGE}|$(Configuration)' == 'dynamic|Release'">MultiThreadedDLL</RuntimeLibrary>
|
|
</CLCompile>
|
|
<Link>
|
|
<!-- Required Libs -->
|
|
<AdditionalDependencies Condition="'$(Configuration)'=='Release'">
|
|
${ZLIB_RELEASE};%(AdditionalDependencies)
|
|
</AdditionalDependencies>
|
|
<AdditionalDependencies Condition="'$(Configuration)'=='Debug'">
|
|
${ZLIB_DEBUG};%(AdditionalDependencies)
|
|
</AdditionalDependencies>
|
|
|
|
<!-- Extension modules -->
|
|
<AdditionalDependencies Condition="'$(Configuration)|$(IncludeExtensions)' == 'Release|true'">
|
|
${BZ2_RELEASE};${EXPAT_RELEASE};${FFI_RELEASE};${LZMA_RELEASE};${SQLITE_RELEASE};%(AdditionalDependencies)
|
|
</AdditionalDependencies>
|
|
<AdditionalDependencies Condition="'$(Configuration)|$(IncludeExtensions)' == 'Debug|true'">
|
|
${BZ2_DEBUG};${EXPAT_DEBUG};${FFI_DEBUG};${LZMA_DEBUG};${SQLITE_DEBUG};%(AdditionalDependencies)
|
|
</AdditionalDependencies>
|
|
</Link>
|
|
|
|
<Lib>
|
|
<!-- Required to prevent linker errors on Visual Studio 2017 with static CRT -->
|
|
<TargetMachine Condition="'${VCPKG_TARGET_ARCHITECTURE}'=='x86'">MachineX86</TargetMachine>
|
|
<TargetMachine Condition="'${VCPKG_TARGET_ARCHITECTURE}'=='x64'">MachineX64</TargetMachine>
|
|
</Lib>
|
|
</ItemDefinitionGroup>
|
|
</Project>
|