Copy version file to source directory for build, with info message.
This commit is contained in:
parent
e9fef026f7
commit
d54cabd59a
@ -7,7 +7,12 @@
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<PreBuildEvent>
|
||||
<Command>copy $(ProjectDir)..\..\version.h $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\src\libsodium\include;$(ProjectDir)..\..\..\..\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
@ -18,4 +23,10 @@
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Will copy $(ProjectDir)..\..\version.h -> $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\version.h" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -7,7 +7,12 @@
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<PreBuildEvent>
|
||||
<Command>copy $(ProjectDir)..\..\version.h $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\src\libsodium\include;$(ProjectDir)..\..\..\..\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
@ -18,4 +23,10 @@
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Will copy $(ProjectDir)..\..\version.h -> $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\version.h" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -7,7 +7,12 @@
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<PreBuildEvent>
|
||||
<Command>copy $(ProjectDir)..\..\version.h $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\src\libsodium\include;$(ProjectDir)..\..\..\..\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
@ -18,4 +23,10 @@
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Messages -->
|
||||
|
||||
<Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Will copy $(ProjectDir)..\..\version.h -> $(ProjectDir)..\..\..\..\src\libsodium\include\sodium\version.h" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user