mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: can't build without libsodium from command line (MSVC)
There is an option to enable/disable libsodium via the Visual Studio UI. This is not practical for command-line usage (via msbuild). Solution: add configure.bat that searches for libsodium in sibling directory to libzmq; if it finds it, defines HAVE_LIBSODIUM 1. This is consistent with zproject, which has the same problem and is getting the same solution for all dependency resolution on Windows. Note that this approach also provides a way to support tweetnacl via a configure option. Also, removed duplicate props files and re-copy in configure.bat as it was an insane nightmare to update these by hand. (and not clear that they were identical. Now it's forced.)
This commit is contained in:
parent
984699c427
commit
6a9af8ed62
@ -1,10 +1,12 @@
|
||||
@ECHO OFF
|
||||
|
||||
CALL buildbase.bat ..\vs2013\libzmq.sln 12
|
||||
ECHO.
|
||||
CALL buildbase.bat ..\vs2012\libzmq.sln 11
|
||||
ECHO.
|
||||
CALL buildbase.bat ..\vs2010\libzmq.sln 10
|
||||
CALL buildbase.bat ..\vs2015\libzmq.sln 14
|
||||
ECHO.
|
||||
:- CALL buildbase.bat ..\vs2013\libzmq.sln 12
|
||||
:- ECHO.
|
||||
:- CALL buildbase.bat ..\vs2012\libzmq.sln 11
|
||||
:- ECHO.
|
||||
:- CALL buildbase.bat ..\vs2010\libzmq.sln 10
|
||||
:- ECHO.
|
||||
|
||||
PAUSE
|
||||
PAUSE
|
||||
|
@ -9,50 +9,59 @@ SET environment="%programfiles(x86)%\%tools%"
|
||||
IF NOT EXIST %environment% SET environment="%programfiles%\%tools%"
|
||||
IF NOT EXIST %environment% GOTO no_tools
|
||||
|
||||
ECHO Building: %solution%
|
||||
SET packages=
|
||||
IF EXIST "..\..\..\..\libsodium\builds/msvc/vs2015\libsodium.import.props" (
|
||||
COPY /Y "..\..\..\..\libsodium\builds/msvc/vs2015\libsodium.import.props" . > %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
SET packages=%packages% /p:HAVE_LIBSODIUM=1
|
||||
) ELSE (
|
||||
ECHO Building without libsodium
|
||||
)
|
||||
|
||||
ECHO Building %solution%... (%packages%)
|
||||
|
||||
CALL %environment% x86 > nul
|
||||
ECHO Platform=x86
|
||||
|
||||
ECHO Configuration=DynDebug
|
||||
msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=Win32 %solution% > %log%
|
||||
msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=Win32 %packages% %solution% > %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=DynRelease
|
||||
msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=Win32 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=Win32 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=LtcgDebug
|
||||
msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=Win32 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=Win32 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=LtcgRelease
|
||||
msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=Win32 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=Win32 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=StaticDebug
|
||||
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=Win32 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=Win32 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=StaticRelease
|
||||
msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=Win32 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=Win32 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
|
||||
CALL %environment% x86_amd64 > nul
|
||||
ECHO Platform=x64
|
||||
|
||||
ECHO Configuration=DynDebug
|
||||
msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=x64 %solution% > %log%
|
||||
msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=x64 %packages% %solution% > %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=DynRelease
|
||||
msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=x64 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=x64 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=LtcgDebug
|
||||
msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=x64 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=x64 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=LtcgRelease
|
||||
msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=x64 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=x64 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=StaticDebug
|
||||
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=x64 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=x64 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
ECHO Configuration=StaticRelease
|
||||
msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=x64 %solution% >> %log%
|
||||
msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=x64 %packages% %solution% >> %log%
|
||||
IF errorlevel 1 GOTO error
|
||||
|
||||
ECHO Complete: %solution%
|
||||
|
57
builds/msvc/configure.bat
Normal file
57
builds/msvc/configure.bat
Normal file
@ -0,0 +1,57 @@
|
||||
@ECHO OFF
|
||||
:- configure.bat creates platform.hpp and configures the build process
|
||||
:- You MUST run this before building via msbuild or VisualStudio.
|
||||
|
||||
IF %1.==--help. (
|
||||
ECHO Syntax: configure [ switch ]
|
||||
ECHO --help show this help
|
||||
GOTO END
|
||||
)
|
||||
ECHO Configuring libzmq...
|
||||
|
||||
ECHO // Generated by configure.bat> platform.hpp
|
||||
ECHO. >> platform.hpp
|
||||
ECHO #ifndef __PLATFORM_H_INCLUDED__>> platform.hpp
|
||||
ECHO #define __PLATFORM_H_INCLUDED__>> platform.hpp
|
||||
ECHO. >> platform.hpp
|
||||
ECHO #define ZMQ_HAVE_WINDOWS 1>> platform.hpp
|
||||
|
||||
:- Check for dependencies
|
||||
IF EXIST "..\..\..\libsodium" (
|
||||
ECHO Building with libsodium
|
||||
ECHO #define HAVE_LIBSODIUM 1>> platform.hpp
|
||||
) ELSE (
|
||||
ECHO Building without libsodium
|
||||
ECHO #undef HAVE_LIBSODIUM>> platform.hpp
|
||||
)
|
||||
|
||||
ECHO. >> platform.hpp
|
||||
ECHO #endif>> platform.hpp
|
||||
|
||||
:- Copy property files for test suite; these are the
|
||||
:- same for all versions of VS so we maintain only the ones
|
||||
:- in vs2015
|
||||
|
||||
COPY /Y vs2015\libzmq\libzmq.props vs2010\libzmq >nul
|
||||
COPY /Y vs2015\inproc_lat\inproc_lat.props vs2010\inproc_lat >nul
|
||||
COPY /Y vs2015\inproc_thr\inproc_thr.props vs2010\inproc_thr >nul
|
||||
COPY /Y vs2015\local_lat\local_lat.props vs2010\local_lat >nul
|
||||
COPY /Y vs2015\local_thr\local_thr.props vs2010\local_thr >nul
|
||||
COPY /Y vs2015\remote_lat\remote_lat.props vs2010\remote_lat >nul
|
||||
COPY /Y vs2015\remote_thr\remote_thr.props vs2010\remote_thr >nul
|
||||
|
||||
COPY /Y vs2015\libzmq\libzmq.props vs2012\libzmq >nul
|
||||
COPY /Y vs2015\inproc_lat\inproc_lat.props vs2012\inproc_lat >nul
|
||||
COPY /Y vs2015\inproc_thr\inproc_thr.props vs2012\inproc_thr >nul
|
||||
COPY /Y vs2015\local_lat\local_lat.props vs2012\local_lat >nul
|
||||
COPY /Y vs2015\local_thr\local_thr.props vs2012\local_thr >nul
|
||||
COPY /Y vs2015\remote_lat\remote_lat.props vs2012\remote_lat >nul
|
||||
COPY /Y vs2015\remote_thr\remote_thr.props vs2012\remote_thr >nul
|
||||
|
||||
COPY /Y vs2015\libzmq\libzmq.props vs2013\libzmq >nul
|
||||
COPY /Y vs2015\inproc_lat\inproc_lat.props vs2013\inproc_lat >nul
|
||||
COPY /Y vs2015\inproc_thr\inproc_thr.props vs2013\inproc_thr >nul
|
||||
COPY /Y vs2015\local_lat\local_lat.props vs2013\local_lat >nul
|
||||
COPY /Y vs2015\local_thr\local_thr.props vs2013\local_thr >nul
|
||||
COPY /Y vs2015\remote_lat\remote_lat.props vs2013\remote_lat >nul
|
||||
COPY /Y vs2015\remote_thr\remote_thr.props vs2013\remote_thr >nul
|
@ -1,41 +1 @@
|
||||
/*
|
||||
Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file
|
||||
|
||||
This file is part of libzmq, the ZeroMQ core engine in C++.
|
||||
|
||||
libzmq is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License (LGPL) as published
|
||||
by the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
As a special exception, the Contributors give you permission to link
|
||||
this library with independent modules to produce an executable,
|
||||
regardless of the license terms of these independent modules, and to
|
||||
copy and distribute the resulting executable under terms of your choice,
|
||||
provided that you also meet, for each linked independent module, the
|
||||
terms and conditions of the license of that module. An independent
|
||||
module is a module which is not derived from or based on this library.
|
||||
If you modify this library, you must extend this exception to your
|
||||
version of the library.
|
||||
|
||||
libzmq is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||
License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ZMQ_PLATFORM_HPP_INCLUDED__
|
||||
#define __ZMQ_PLATFORM_HPP_INCLUDED__
|
||||
|
||||
// This is the platform definition for the MSVC platform.
|
||||
// As a first step of the build process it is copied to
|
||||
// zmq directory to take place of platform.hpp generated from
|
||||
// platform.hpp.in on platforms supported by GNU autotools.
|
||||
// Place any MSVC-specific definitions here.
|
||||
|
||||
#define ZMQ_HAVE_WINDOWS
|
||||
|
||||
#endif
|
||||
#error "Run configure.bat to create platform.h"
|
||||
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -11,16 +11,11 @@
|
||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)libzmq.import.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
@ -63,4 +58,4 @@
|
||||
<Message Text="Copying libzmq.pdb -> $(TargetDir)libzmq.pdb" Importance="high" Condition="$(Configuration.IndexOf('Debug')) != -1" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-options-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
@ -12,10 +11,6 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable the GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
@ -35,4 +30,4 @@
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,69 +0,0 @@
|
||||
<?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>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<EnablePREfast>false</EnablePREfast>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(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="$(SolutionDir)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-openpgm : $(Option-openpgm)" Importance="high"/>
|
||||
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
||||
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
<Category Name="gssapi" DisplayName="gssapi" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
@ -13,13 +12,9 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -2,7 +2,7 @@
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup Label="Globals">
|
||||
<_PropertySheetDisplayName>ZMQ Import Settings</_PropertySheetDisplayName>
|
||||
<_PropertySheetDisplayName>ZeroMQ Import Settings</_PropertySheetDisplayName>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- User Interface -->
|
||||
@ -11,16 +11,11 @@
|
||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)libzmq.import.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
@ -63,4 +58,4 @@
|
||||
<Message Text="Copying libzmq.pdb -> $(TargetDir)libzmq.pdb" Importance="high" Condition="$(Configuration.IndexOf('Debug')) != -1" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-options-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
@ -12,10 +11,6 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable the GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
@ -35,4 +30,4 @@
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,69 +0,0 @@
|
||||
<?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>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<EnablePREfast>false</EnablePREfast>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(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="$(SolutionDir)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-openpgm : $(Option-openpgm)" Importance="high"/>
|
||||
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
||||
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
<Category Name="gssapi" DisplayName="gssapi" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
@ -13,13 +12,9 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ inproc_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -11,16 +11,11 @@
|
||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)libzmq.import.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
@ -63,4 +58,4 @@
|
||||
<Message Text="Copying libzmq.pdb -> $(TargetDir)libzmq.pdb" Importance="high" Condition="$(Configuration.IndexOf('Debug')) != -1" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-options-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
@ -12,10 +11,6 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable the GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
@ -35,4 +30,4 @@
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,69 +0,0 @@
|
||||
<?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>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<EnablePREfast>false</EnablePREfast>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(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="$(SolutionDir)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-openpgm : $(Option-openpgm)" Importance="high"/>
|
||||
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
||||
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
<Category Name="gssapi" DisplayName="gssapi" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
@ -13,13 +12,9 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ local_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_lat Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>ZeroMQ remote_thr Common Settings</_PropertySheetDisplayName>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'" >dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -11,16 +11,11 @@
|
||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)libzmq.import.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
@ -63,4 +58,4 @@
|
||||
<Message Text="Copying libzmq.pdb -> $(TargetDir)libzmq.pdb" Importance="high" Condition="$(Configuration.IndexOf('Debug')) != -1" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-options-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
@ -12,10 +11,6 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable the GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
@ -35,4 +30,4 @@
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -13,10 +13,6 @@
|
||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(ProjectName).xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Option-sodium>true</Option-sodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
@ -25,7 +21,6 @@
|
||||
<EnablePREfast>false</EnablePREfast>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-sodium)' == 'true'">HAVE_LIBSODIUM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Option-gssapi)' == 'true'">HAVE_LIBGSSAPI_KRB5;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
@ -41,29 +36,28 @@
|
||||
<!-- Dependencies -->
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="OptionInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Option-openpgm : $(Option-openpgm)" Importance="high"/>
|
||||
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
|
||||
<Message Text="Option-gssapi : $(Option-gssapi)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<Rule Name="libzmq-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
<Category Name="sodium" DisplayName="sodium" />
|
||||
<Category Name="gssapi" DisplayName="gssapi" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
@ -13,13 +12,9 @@
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-sodium" DisplayName="Enable Sodium" Description="Enable the Sodium build option" Category="sodium">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
<EnumProperty Name="Option-gssapi" DisplayName="Enable GSS API" Description="Enable GSS API build option" Category="gssapi">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
||||
</ProjectSchemaDefinitions>
|
||||
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -22,27 +22,27 @@
|
||||
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(SolutionDir)libzmq.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" />
|
||||
<Import Project="$(SolutionDir)libsodium.import.props" Condition="'$(HAVE_SODIUM)'=='1'" />
|
||||
</ImportGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
||||
<Linkage-libzmq>dynamic</Linkage-libzmq>
|
||||
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">dynamic</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
||||
<Linkage-libzmq>ltcg</Linkage-libzmq>
|
||||
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">ltcg</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
||||
<Linkage-libzmq>static</Linkage-libzmq>
|
||||
<Linkage-libsodium>static</Linkage-libsodium>
|
||||
<Linkage-libsodium Condition="'$(HAVE_SODIUM)'=='1'">static</Linkage-libsodium>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
||||
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high" Condition="'$(HAVE_SODIUM)'=='1'"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user