|
18 | 18 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
19 | 19 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
20 | 20 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))\Build\Release.Product.Settings" />
|
| 21 | + <PropertyGroup> |
| 22 | + <Linkage-zlib>static</Linkage-zlib> |
| 23 | + <Linkage-openssl>static</Linkage-openssl> |
| 24 | + </PropertyGroup> |
21 | 25 | <ImportGroup Label="PropertySheets">
|
22 | 26 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
23 | 27 | <Import Project="$(PackagesRoot)\boost.1.55.0.16\build\native\boost.targets" Condition="Exists('$(PackagesRoot)\boost.1.55.0.16\build\native\boost.targets')" />
|
|
28 | 32 | <Import Project="$(PackagesRoot)\boost_chrono-vc110.1.55.0.16\build\native\boost_chrono-vc110.targets" Condition="Exists('$(PackagesRoot)\boost_chrono-vc110.1.55.0.16\build\native\boost_chrono-vc110.targets')" />
|
29 | 33 | <Import Project="$(PackagesRoot)\boost_random-vc110.1.55.0.16\build\native\boost_random-vc110.targets" Condition="Exists('$(PackagesRoot)\boost_random-vc110.1.55.0.16\build\native\boost_random-vc110.targets')" />
|
30 | 34 | <Import Project="$(PackagesRoot)\openssl.1.0.1.25\build\native\openssl.props" Condition="Exists('$(PackagesRoot)\openssl.1.0.1.25\build\native\openssl.props')" />
|
31 |
| - <Import Project="$(PackagesRoot)\zlib.redist.1.2.8.7\build\native\zlib.redist.targets" Condition="Exists('$(PackagesRoot)\zlib.redist.1.2.8.7\build\native\zlib.redist.targets')" /> |
32 |
| - <Import Project="$(PackagesRoot)\zlib.1.2.8.7\build\native\zlib.targets" Condition="Exists('$(PackagesRoot)\zlib.1.2.8.7\build\native\zlib.targets')" /> |
33 |
| - <Import Project="$(PackagesRoot)\openssl.redist.1.0.1.25\build\native\openssl.redist.targets" Condition="Exists('$(PackagesRoot)\openssl.redist.1.0.1.25\build\native\openssl.redist.targets')" /> |
34 | 35 | <Import Project="$(PackagesRoot)\openssl.1.0.1.25\build\native\openssl.targets" Condition="Exists('$(PackagesRoot)\openssl.1.0.1.25\build\native\openssl.targets')" />
|
| 36 | + <Import Project="$(PackagesRoot)\zlib.1.2.8.7\build\native\zlib.targets" Condition="Exists('$(PackagesRoot)\zlib.1.2.8.7\build\native\zlib.targets')" /> |
35 | 37 | </ImportGroup>
|
36 | 38 | <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
37 | 39 | <DebugFileSuffix>d</DebugFileSuffix>
|
|
49 | 51 | <PrecompiledHeader>Use</PrecompiledHeader>
|
50 | 52 | <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
51 | 53 | <AdditionalOptions>-Zm160 /bigobj %(AdditionalOptions)</AdditionalOptions>
|
| 54 | + <RuntimeLibrary Condition="'$(Configuration)'=='Debug'">MultiThreadedDebugDLL</RuntimeLibrary> |
| 55 | + <RuntimeLibrary Condition="'$(Configuration)'=='Release'">MultiThreadedDLL</RuntimeLibrary> |
52 | 56 | </ClCompile>
|
53 | 57 | <Link>
|
54 | 58 | <AdditionalDependencies>Kernel32.lib;Winhttp.lib;httpapi.lib;crypt32.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
| 59 | + |
| 60 | + <!-- We are statically linking against an OpenSSL lib which statically links against the CRT, avoid warning --> |
| 61 | + <IgnoreSpecificDefaultLibraries Condition="'$(Configuration)'=='Debug'">LIBCMTD</IgnoreSpecificDefaultLibraries> |
| 62 | + <IgnoreSpecificDefaultLibraries Condition="'$(Configuration)'=='Release'">LIBCMT</IgnoreSpecificDefaultLibraries> |
| 63 | + |
| 64 | + <!-- The OpenSSL package doesn't include pdbs so suppress the warning, otherwise one is emitted per object file --> |
| 65 | + <!-- This is just complaining we don't have debug information for OpenSSL --> |
| 66 | + <AdditionalOptions>/ignore:4099 %(AdditionalOptions)</AdditionalOptions> |
55 | 67 | </Link>
|
56 | 68 | </ItemDefinitionGroup>
|
57 | 69 | <Import Project="..\common.vcxitems" Label="Shared" Condition="Exists('..\common.vcxitems')" />
|
|
0 commit comments