mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
76 lines
4.3 KiB
XML
76 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>ZeroMQ Library Common Settings</_PropertySheetDisplayName>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
|
|
<!-- User Interface -->
|
|
|
|
<ItemGroup Label="BuildOptionsExtension">
|
|
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(ProjectName).xml" />
|
|
</ItemGroup>
|
|
|
|
<!-- Configuration -->
|
|
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<PrecompiledHeaderFile>precompiled.hpp</PrecompiledHeaderFile>
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-tweet)' == 'true'">ZMQ_USE_TWEETNACL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">ZMQ_USE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-tweet)' == 'true' Or '$(Option-sodium)' == 'true'">ZMQ_HAVE_CURVE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-draftapi)' == 'true'">ZMQ_BUILD_DRAFT_API;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-usepoll)' == 'true'">ZMQ_USE_POLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Option-usepoll)' != 'true'">ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>Advapi32.lib;Ws2_32.lib;Rpcrt4.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<Lib Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
|
<AdditionalOptions>/ignore:4221 %(AdditionalOptions)</AdditionalOptions>
|
|
</Lib>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Dependencies -->
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(MSBuildThisFileDirectory)..\..\..\..\..\libsodium\builds\msvc\vs2015\libsodium.import.props"
|
|
Condition="Exists('$(MSBuildThisFileDirectory)..\..\..\..\..\libsodium\builds\msvc\vs2015\libsodium.import.props')" />
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
|
<!--<Linkage-libsodium>dynamic</Linkage-libsodium>-->
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
|
<!--<Linkage-libsodium>ltcg</Linkage-libsodium>-->
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
|
<!--<Linkage-libsodium>static</Linkage-libsodium>-->
|
|
</PropertyGroup>
|
|
|
|
<!-- Messages -->
|
|
|
|
<Target Name="OptionInfo" BeforeTargets="PrepareForBuild">
|
|
<Message Text="Option-tweet : $(Option-tweet)" Importance="high"/>
|
|
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
|
<Message Text="Option-openpgm : $(Option-openpgm)" Importance="high"/>
|
|
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
|
<Message Text="Option-draftapi : $(Option-draftapi)" Importance="high"/>
|
|
<Message Text="Option-usepoll : $(Option-usepoll)" Importance="high"/>
|
|
</Target>
|
|
|
|
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
|
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(Option-sodium)' == 'true'"/>
|
|
</Target>
|
|
|
|
</Project> |