Merge pull request #1076 from dmeehan1968/msvc-platform-hpp-no-copy

Remove copy of platform.hpp for MSVC VS2013 builds
This commit is contained in:
Richard Newton 2014-06-05 13:15:50 +01:00
commit ff6b684ab3
15 changed files with 29 additions and 60 deletions

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -64,7 +64,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\inproc_lat.cpp" />

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -64,7 +64,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\inproc_thr.cpp" />

View File

@ -20,11 +20,8 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;$(ProjectDir)..\..\..\..\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<EnablePREfast>false</EnablePREfast>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;FD_SETSIZE=1024;ZMQ_USE_SELECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@ -59,10 +56,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="OptionInfo" BeforeTargets="PrepareForBuild">
<Message Text="Option-openpgm : $(Option-openpgm)" Importance="high"/>
<Message Text="Option-sodium : $(Option-sodium)" Importance="high"/>
@ -73,4 +66,4 @@
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
</Target>
</Project>
</Project>

View File

@ -113,7 +113,7 @@
<ClInclude Include="..\..\..\..\src\pgm_sender.hpp" />
<ClInclude Include="..\..\..\..\src\pgm_socket.hpp" />
<ClInclude Include="..\..\..\..\src\pipe.hpp" />
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
<ClInclude Include="..\..\..\..\src\poll.hpp" />
<ClInclude Include="..\..\..\..\src\poller.hpp" />
<ClInclude Include="..\..\..\..\src\poller_base.hpp" />
@ -243,4 +243,4 @@
<ResourceCompile Include="..\..\resource.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
</Project>

View File

@ -450,7 +450,7 @@
<ClInclude Include="..\..\..\..\src\poll.hpp">
<Filter>src\include</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\platform.hpp">
<ClInclude Include="..\..\platform.hpp">
<Filter>src\include</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\pipe.hpp">

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -64,7 +64,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\local_lat.cpp" />

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -68,7 +68,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\local_thr.cpp" />

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -68,7 +68,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\remote_lat.cpp" />

View File

@ -10,9 +10,9 @@
<!-- Configuration -->
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>xcopy /c /y $(BuildRoot)platform.hpp $(RepoRoot)src\</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>Advapi32.lib;Rpcrt4.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
@ -40,10 +40,6 @@
<!-- Messages -->
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
<Message Text="Will copy $(BuildRoot)platform.hpp -&gt; $(RepoRoot)src\platform.hpp" Importance="high"/>
</Target>
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
<Message Text="Linkage-libzmq : $(Linkage-libzmq)" Importance="high"/>
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>

View File

@ -64,7 +64,7 @@
<Import Project="$(ProjectDir)$(ProjectName).props" />
</ImportGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\src\platform.hpp" />
<ClInclude Include="..\..\platform.hpp" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\perf\remote_thr.cpp" />