aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/common.vcxproj
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-10-02 23:40:52 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2019-02-01 00:28:49 +0800
commit52091066be15a86a38c4db182338808f9316c35a (patch)
tree644e3457f541f236fff0e0c288ea979bdbea5f25 /build_msvc/common.vcxproj
parent252fd15addf1cd061c3b6258ad916df7deeecf83 (diff)
msvc: build secp256k1 locally
Diffstat (limited to 'build_msvc/common.vcxproj')
-rw-r--r--build_msvc/common.vcxproj10
1 files changed, 8 insertions, 2 deletions
diff --git a/build_msvc/common.vcxproj b/build_msvc/common.vcxproj
index c7c20622e4..985b0becaa 100644
--- a/build_msvc/common.vcxproj
+++ b/build_msvc/common.vcxproj
@@ -3,15 +3,21 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<PropertyGroup>
<BuildDependsOn>
- CopyConfig;
+ CopyBitcoinConfig;
+ CopySecp256k1Config;
$(BuildDependsOn);
</BuildDependsOn>
</PropertyGroup>
- <Target Name="CopyConfig"
+ <Target Name="CopyBitcoinConfig"
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>
+ <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>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>