2014-03-29 23:13:00 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-04-14 19:18:36 -07:00
|
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2014-03-29 23:13:00 -07:00
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<_PropertySheetDisplayName>ZeroMQ Library Common Settings</_PropertySheetDisplayName>
|
|
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
|
|
</PropertyGroup>
|
2014-04-09 03:27:27 -07:00
|
|
|
|
|
|
|
<!-- User Interface -->
|
|
|
|
|
|
|
|
<ItemGroup Label="BuildOptionsExtension">
|
|
|
|
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(ProjectName).xml" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<Option-sodium>true</Option-sodium>
|
|
|
|
</PropertyGroup>
|
2014-03-29 23:13:00 -07:00
|
|
|
|
2014-04-07 19:38:59 -07:00
|
|
|
<!-- Configuration -->
|
|
|
|
|
2014-03-29 23:13:00 -07:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
2014-06-05 12:51:41 +01:00
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-03-29 23:13:00 -07:00
|
|
|
<EnablePREfast>false</EnablePREfast>
|
2014-08-23 13:59:53 +02:00
|
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;FD_SETSIZE=4096;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-04-07 19:38:59 -07:00
|
|
|
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-05-06 15:23:32 -07:00
|
|
|
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-04-09 03:27:27 -07:00
|
|
|
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-03-29 23:13:00 -07:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<AdditionalDependencies>Advapi32.lib;Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
</Link>
|
2014-04-09 03:27:27 -07:00
|
|
|
<Lib Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
2014-03-30 02:38:20 -07:00
|
|
|
<AdditionalOptions>/ignore:4221 %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
</Lib>
|
2014-03-29 23:13:00 -07:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2014-04-09 03:27:27 -07:00
|
|
|
<!-- Dependencies -->
|
2014-04-07 19:38:59 -07:00
|
|
|
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
<Import Project="$(SolutionDir)libsodium.import.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
|
2014-05-21 00:13:43 -07:00
|
|
|
<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>
|
2014-04-07 19:38:59 -07:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- Messages -->
|
2014-03-29 23:13:00 -07:00
|
|
|
|
2014-04-07 19:38:59 -07:00
|
|
|
<Target Name="OptionInfo" BeforeTargets="PrepareForBuild">
|
|
|
|
<Message Text="Option-openpgm : $(Option-openpgm)" Importance="high"/>
|
|
|
|
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
2014-05-06 15:23:32 -07:00
|
|
|
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
2014-04-07 19:38:59 -07:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
|
|
|
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
|
|
|
</Target>
|
2014-03-29 23:13:00 -07:00
|
|
|
|
2014-06-05 12:51:41 +01:00
|
|
|
</Project>
|