aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/common.vcxproj
blob: c7c20622e43b8a91b673b58ea3089372e59d4d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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>
          CopyConfig;
          $(BuildDependsOn);
      </BuildDependsOn>
  </PropertyGroup>
  <Target Name="CopyConfig"
          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>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
      <DisableSpecificWarnings>4018;4244;4267;4715;4805;</DisableSpecificWarnings>
      <TreatWarningAsError>true</TreatWarningAsError>
    </ClCompile>
  </ItemDefinitionGroup>
</Project>