2018-08-10 09:19:00 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<PropertyGroup>
|
|
|
|
<BuildDependsOn>
|
2018-10-02 17:40:52 +02:00
|
|
|
CopyBitcoinConfig;
|
|
|
|
CopySecp256k1Config;
|
2018-08-10 09:19:00 +02:00
|
|
|
$(BuildDependsOn);
|
|
|
|
</BuildDependsOn>
|
|
|
|
</PropertyGroup>
|
2018-10-02 17:40:52 +02:00
|
|
|
<Target Name="CopyBitcoinConfig"
|
2018-08-10 09:19:00 +02:00
|
|
|
Inputs="$(MSBuildThisFileDirectory)bitcoin_config.h"
|
|
|
|
Outputs="$(MSBuildThisFileDirectory)..\src\config\bitcoin-config.h">
|
|
|
|
<Copy SourceFiles="$(MSBuildThisFileDirectory)bitcoin_config.h" DestinationFiles="$(MSBuildThisFileDirectory)..\src\config\bitcoin-config.h" />
|
|
|
|
</Target>
|
2018-10-02 17:40:52 +02:00
|
|
|
<Target Name="CopySecp256k1Config"
|
|
|
|
Inputs="$(MSBuildThisFileDirectory)libsecp256k1_config.h"
|
|
|
|
Outputs="$(MSBuildThisFileDirectory)..\src\secp256k1\src\libsecp256k1-config.h">
|
|
|
|
<Copy SourceFiles="$(MSBuildThisFileDirectory)libsecp256k1_config.h" DestinationFiles="$(MSBuildThisFileDirectory)..\src\secp256k1\src\libsecp256k1-config.h" />
|
|
|
|
</Target>
|
2018-09-14 22:36:18 +02:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
2018-09-05 15:08:58 +02:00
|
|
|
<DisableSpecificWarnings>4018;4244;4267;4715;4805;</DisableSpecificWarnings>
|
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
2018-12-13 11:24:30 +01:00
|
|
|
<PreprocessorDefinitions>_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2018-09-14 22:36:18 +02:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2018-09-05 15:08:58 +02:00
|
|
|
</Project>
|