Merge #15529: Add Qt programs to msvc build (updated, no code changes)
1619684322
Added libbitcoin_qt and bitcoin-qt to the msbuild configuration. (Aaron Clauson) Pull request description: This PR has ~~90%~~ all of the work done to allow the bitcoin Qt programs to be built with msvc and the appveyor script. Outstanding issues: - ~~There are ~~3~~ ~~6~~ 5 code tweaks required for the bitcoin Qt components to be built without warnings with msvc. They seem minor~~, - Building Qt as a static library for Windows is painful and time consuming. I doubt it will ever be possible to build Qt from source as part of an appveyor job (and it would probably take over an hour even if it was). My tentative solution is to build locally and upload the binaries as a [github release](https://github.com/sipsorcery/qt_win_binary/releases). The msvc build is only for testing and tinkering but even so this doesn't feel like the ideal solution. Open to suggestions? - ~~There is still an issue to sort out with the payment request URL handling. Building Qt with openssl is an extra headache. I will continue to work on getting this working.~~ The big benefit of this PR is the ability to run bitcoin-qt within a Visual Studio debugging session which could expedite tracking down issues on Windows. On a side note the test-bitcoin-qt tests fail very early, probably due to *nix specific tests. I haven't dug into them at this point. **Update 28 Jun 2019**: The ENABLE_BIP70 option is now off (it's flagged for removal as per #15584). With it disabled msbuild does not require any code changes to build the Bitcoin Core Qt applications. ACKs for top commit: fanquake: re-ACK1619684322
- AppVeyor looks ok now. Tree-SHA512: c0d3fd53b3ff99096b2505d519ed5ca6791bc4bce77addf9c520dc042eec5980a51a1fb9f0aa72e9cc53773085c43218793ca7a915a47806a3a1ffb84d9409f9
This commit is contained in:
commit
2324aa1dc4
9 changed files with 527 additions and 1074 deletions
|
@ -7,12 +7,16 @@ clone_depth: 5
|
||||||
environment:
|
environment:
|
||||||
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
||||||
CLCACHE_SERVER: 1
|
CLCACHE_SERVER: 1
|
||||||
PACKAGES: berkeleydb boost-filesystem boost-signals2 boost-test libevent openssl rapidcheck zeromq
|
PACKAGES: berkeleydb boost-filesystem boost-signals2 boost-test libevent openssl rapidcheck zeromq double-conversion
|
||||||
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
|
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
|
||||||
PYTHONUTF8: 1
|
PYTHONUTF8: 1
|
||||||
|
QT_DOWNLOAD_URL: 'https://github.com/sipsorcery/qt_win_binary/releases/download/v1.0/Qt5.9.7_ssl_x64_static_vs2017.zip'
|
||||||
|
QT_DOWNLOAD_HASH: 'D4D35B8112302B67E5610A03421BB3E43FE13F14D9A5F637C22AE60DCEC0E0F5'
|
||||||
|
QT_LOCAL_PATH: 'C:\Qt5.9.7_ssl_x64_static_vs2017'
|
||||||
cache:
|
cache:
|
||||||
- C:\tools\vcpkg\installed -> .appveyor.yml
|
- C:\tools\vcpkg\installed
|
||||||
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
|
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
|
||||||
|
- C:\Qt5.9.7_ssl_x64_static_vs2017
|
||||||
install:
|
install:
|
||||||
- cmd: pip install --quiet git+https://github.com/frerich/clcache.git@v4.2.0
|
- cmd: pip install --quiet git+https://github.com/frerich/clcache.git@v4.2.0
|
||||||
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
|
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
|
||||||
|
@ -22,6 +26,23 @@ install:
|
||||||
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
|
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
|
||||||
before_build:
|
before_build:
|
||||||
- ps: clcache -M 536870912
|
- ps: clcache -M 536870912
|
||||||
|
- ps: |
|
||||||
|
if(!(Test-Path -Path ($env:QT_LOCAL_PATH))) {
|
||||||
|
Write-Host "Downloading Qt binaries.";
|
||||||
|
Invoke-WebRequest -Uri $env:QT_DOWNLOAD_URL -Out qtdownload.zip;
|
||||||
|
Write-Host "Qt binaries successfully downloaded, checking hash against $env:QT_DOWNLOAD_HASH...";
|
||||||
|
if((Get-FileHash qtdownload.zip).Hash -eq $env:QT_DOWNLOAD_HASH) {
|
||||||
|
Expand-Archive qtdownload.zip -DestinationPath $env:QT_LOCAL_PATH;
|
||||||
|
Write-Host "Qt binary download matched the expected hash.";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-Host "ERROR: Qt binary download did not match the expected hash.";
|
||||||
|
Exit-AppveyorBuild;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-Host "Qt binaries already present.";
|
||||||
|
}
|
||||||
- cmd: python build_msvc\msvc-autogen.py
|
- cmd: python build_msvc\msvc-autogen.py
|
||||||
- ps: $files = (Get-ChildItem -Recurse | where {$_.extension -eq ".vcxproj"}).FullName
|
- ps: $files = (Get-ChildItem -Recurse | where {$_.extension -eq ".vcxproj"}).FullName
|
||||||
- ps: for (${i} = 0; ${i} -lt ${files}.length; ${i}++) {
|
- ps: for (${i} = 0; ${i} -lt ${files}.length; ${i}++) {
|
||||||
|
@ -37,10 +58,13 @@ build_script:
|
||||||
after_build:
|
after_build:
|
||||||
- ps: fsutil behavior set disablelastaccess 1 # Disable Access time feature on Windows (better performance)
|
- ps: fsutil behavior set disablelastaccess 1 # Disable Access time feature on Windows (better performance)
|
||||||
- ps: clcache -z
|
- ps: clcache -z
|
||||||
|
#- 7z a bitcoin-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
|
||||||
test_script:
|
test_script:
|
||||||
- cmd: src\test_bitcoin.exe -k stdout -e stdout 2> NUL
|
- cmd: src\test_bitcoin.exe -k stdout -e stdout 2> NUL
|
||||||
- cmd: src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
|
- cmd: src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
|
||||||
- ps: python test\util\bitcoin-util-test.py
|
- ps: python test\util\bitcoin-util-test.py
|
||||||
- cmd: python test\util\rpcauth-test.py
|
- cmd: python test\util\rpcauth-test.py
|
||||||
- cmd: python test\functional\test_runner.py --ci --quiet --combinedlogslen=4000 --failfast
|
- cmd: python test\functional\test_runner.py --ci --quiet --combinedlogslen=4000 --failfast
|
||||||
|
artifacts:
|
||||||
|
#- path: bitcoin-%APPVEYOR_BUILD_VERSION%.zip
|
||||||
deploy: off
|
deploy: off
|
||||||
|
|
2
build_msvc/.gitignore
vendored
2
build_msvc/.gitignore
vendored
|
@ -10,3 +10,5 @@ packages/*
|
||||||
*.vcxproj.user
|
*.vcxproj.user
|
||||||
*.vcxproj
|
*.vcxproj
|
||||||
*/Win32
|
*/Win32
|
||||||
|
libbitcoin_qt/QtGeneratedFiles/*
|
||||||
|
test_bitcoin-qt/QtGeneratedFiles/*
|
||||||
|
|
|
@ -3,13 +3,23 @@ Building Bitcoin Core with Visual Studio
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
---------------------
|
---------------------
|
||||||
Solution and project files to build the Bitcoin Core applications (except Qt dependent ones) with Visual Studio 2017 can be found in the build_msvc directory.
|
Solution and project files to build the Bitcoin Core applications `msbuild` or Visual Studio can be found in the build_msvc directory. The build has been tested with Visual Studio 2017 and 2019.
|
||||||
|
|
||||||
Building with Visual Studio is an alternative to the Linux based [cross-compiler build](https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md).
|
Building with Visual Studio is an alternative to the Linux based [cross-compiler build](https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md).
|
||||||
|
|
||||||
|
Quick Start
|
||||||
|
---------------------
|
||||||
|
The minimal steps required to build Bitcoin Core with the msbuild toolchain are below. More detailed instructions are contained in the following sections.
|
||||||
|
|
||||||
|
```
|
||||||
|
vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb rapidcheck double-conversion
|
||||||
|
py -3 build_msvc\msvc-autogen.py
|
||||||
|
msbuild /m build_msvc\bitcoin.sln /p:Platform=x64 /p:Configuration=Release /t:build
|
||||||
|
```
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
---------------------
|
---------------------
|
||||||
A number of [open source libraries](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) are required in order to be able to build Bitcoin.
|
A number of [open source libraries](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) are required in order to be able to build Bitcoin Core.
|
||||||
|
|
||||||
Options for installing the dependencies in a Visual Studio compatible manner are:
|
Options for installing the dependencies in a Visual Studio compatible manner are:
|
||||||
|
|
||||||
|
@ -17,18 +27,30 @@ Options for installing the dependencies in a Visual Studio compatible manner are
|
||||||
- Download the source code, build each dependency, add the required include paths, link libraries and binary tools to the Visual Studio project files.
|
- Download the source code, build each dependency, add the required include paths, link libraries and binary tools to the Visual Studio project files.
|
||||||
- Use [nuget](https://www.nuget.org/) packages with the understanding that any binary files have been compiled by an untrusted third party.
|
- Use [nuget](https://www.nuget.org/) packages with the understanding that any binary files have been compiled by an untrusted third party.
|
||||||
|
|
||||||
The external dependencies required for the Visual Studio build are (see [dependencies.md](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) for more info):
|
The [external dependencies](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) required for building are:
|
||||||
|
|
||||||
- Berkeley DB
|
- Berkeley DB
|
||||||
- OpenSSL
|
|
||||||
- Boost
|
- Boost
|
||||||
|
- DoubleConversion
|
||||||
- libevent
|
- libevent
|
||||||
- ZeroMQ
|
- OpenSSL
|
||||||
|
- Qt5
|
||||||
- RapidCheck
|
- RapidCheck
|
||||||
|
- ZeroMQ
|
||||||
|
|
||||||
Additional dependencies required from the [bitcoin-core](https://github.com/bitcoin-core) GitHub repository are:
|
Qt
|
||||||
- libsecp256k1
|
---------------------
|
||||||
- LevelDB
|
All the Bitcoin Core applications are configured to build with static linking. In order to build the Bitcoin Core Qt applications a static build of Qt is required.
|
||||||
|
|
||||||
|
The runtime library version (e.g. v141, v142) and platform type (x86 or x64) must also match. OpenSSL must also be linked into the Qt binaries in order to provide full functionality of the Bitcoin Core Qt programs. An example of the configure command to build Qtv5.9.7 locally to link with Bitcoin Core is shown below (adjust paths accordingly), note it can be expected that the configure and subsequent build will fail numerous times until dependency issues are resolved.
|
||||||
|
|
||||||
|
````
|
||||||
|
..\Qtv5.9.7_src\configure -developer-build -confirm-license -debug-and-release -opensource -platform win32-msvc -opengl desktop -no-shared -static -no-static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -ltcg -make libs -make tools -no-libjpeg -nomake examples -no-compile-examples -no-dbus -no-libudev -no-qml-debug -no-icu -no-gtk -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -no-libudev -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -nomake tests -openssl-linked -IC:\Dev\github\vcpkg\installed\x64-windows-static\include -LC:\Dev\github\vcpkg\installed\x64-windows-static\lib OPENSSL_LIBS="-llibeay32 -lssleay32 -lgdi32 -luser32 -lwsock32 -ladvapi32" -prefix C:\Qt5.9.7_ssl_x64_static_vs2017
|
||||||
|
````
|
||||||
|
|
||||||
|
A prebuilt version for x64 and Visual C++ runtime v141 (Visual Studio 2017) can be downloaded from [here](https://github.com/sipsorcery/qt_win_binary/releases). Please be aware this download is NOT an officially sanctioned Bitcoin Core distribution and is provided for developer convenience. It should NOT be used for builds that will be used in a production environment or with real funds.
|
||||||
|
|
||||||
|
To build Bitcoin Core without Qt unload or disable the bitcoin-qt, libbitcoin_qt and test_bitcoin-qt projects.
|
||||||
|
|
||||||
Building
|
Building
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -38,7 +60,7 @@ The instructions below use `vcpkg` to install the dependencies.
|
||||||
- Install the required packages (replace x64 with x86 as required):
|
- Install the required packages (replace x64 with x86 as required):
|
||||||
|
|
||||||
```
|
```
|
||||||
PS >.\vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb rapidcheck
|
PS >.\vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb rapidcheck double-conversion
|
||||||
```
|
```
|
||||||
|
|
||||||
- Use Python to generate *.vcxproj from Makefile
|
- Use Python to generate *.vcxproj from Makefile
|
||||||
|
@ -47,4 +69,27 @@ The instructions below use `vcpkg` to install the dependencies.
|
||||||
PS >py -3 msvc-autogen.py
|
PS >py -3 msvc-autogen.py
|
||||||
```
|
```
|
||||||
|
|
||||||
- Build in Visual Studio.
|
- An optional step is to adjust the settings in the build_msvc directory and the common.init.vcxproj file. This project file contains settings that are common to all projects such as the runtime library version and target Windows SDK version. The Qt directories can also be set.
|
||||||
|
|
||||||
|
- Build with Visual Studio 2017 or msbuild.
|
||||||
|
|
||||||
|
```
|
||||||
|
msbuild /m bitcoin.sln /p:Platform=x64 /p:Configuration=Release /t:build
|
||||||
|
```
|
||||||
|
|
||||||
|
- Build with Visual Studio 2019 or msbuild.
|
||||||
|
|
||||||
|
```
|
||||||
|
msbuild /m bitcoin.sln /p:Platform=x64 /p:Configuration=Release /p:PlatformToolset=v142 /t:build
|
||||||
|
```
|
||||||
|
|
||||||
|
AppVeyor
|
||||||
|
---------------------
|
||||||
|
The .appveyor.yml in the root directory is suitable to perform builds on [AppVeyor](https://www.appveyor.com/) Continuous Integration servers. The simplest way to perform an AppVeyor build is to fork Bitcoin Core and then configure a new AppVeyor Project pointing to the forked repository.
|
||||||
|
|
||||||
|
For safety reasons the Bitcoin Core .appveyor.yml file has the artifact options disabled. The build will be performed but no executable files will be available. To enable artifacts on a forked repository uncomment the lines shown below:
|
||||||
|
|
||||||
|
```
|
||||||
|
#- 7z a bitcoin-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
|
||||||
|
#- path: bitcoin-%APPVEYOR_BUILD_VERSION%.zip
|
||||||
|
```
|
||||||
|
|
81
build_msvc/bitcoin-qt/bitcoin-qt.vcxproj
Normal file
81
build_msvc/bitcoin-qt/bitcoin-qt.vcxproj
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="..\common.init.vcxproj" />
|
||||||
|
<Import Project="..\common.qt.init.vcxproj" />
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}</ProjectGuid>
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\src\qt\main.cpp" />
|
||||||
|
<ResourceCompile Include="..\..\src\qt\res\bitcoin-qt-res.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\libbitcoinconsensus\libbitcoinconsensus.vcxproj">
|
||||||
|
<Project>{2b384fa8-9ee1-4544-93cb-0d733c25e8ce}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_cli\libbitcoin_cli.vcxproj">
|
||||||
|
<Project>{0667528c-d734-4009-adf9-c0d6c4a5a5a6}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_common\libbitcoin_common.vcxproj">
|
||||||
|
<Project>{7c87e378-df58-482e-aa2f-1bc129bc19ce}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_crypto\libbitcoin_crypto.vcxproj">
|
||||||
|
<Project>{6190199c-6cf4-4dad-bfbd-93fa72a760c1}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_qt\libbitcoin_qt.vcxproj">
|
||||||
|
<Project>{2b4abff8-d1fd-4845-88c9-1f3c0a6512bf}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_server\libbitcoin_server.vcxproj">
|
||||||
|
<Project>{460fee33-1fe1-483f-b3bf-931ff8e969a5}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_util\libbitcoin_util.vcxproj">
|
||||||
|
<Project>{b53a5535-ee9d-4c6f-9a26-f79ee3bc3754}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_wallet\libbitcoin_wallet.vcxproj">
|
||||||
|
<Project>{93b86837-b543-48a5-a89b-7c87abb77df2}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libbitcoin_zmq\libbitcoin_zmq.vcxproj">
|
||||||
|
<Project>{792d487f-f14c-49fc-a9de-3fc150f31c3f}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libleveldb\libleveldb.vcxproj">
|
||||||
|
<Project>{18430fef-6b61-4c53-b396-718e02850f1b}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libsecp256k1\libsecp256k1.vcxproj">
|
||||||
|
<Project>{bb493552-3b8c-4a8c-bf69-a6e7a51d2ea6}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\libunivalue\libunivalue.vcxproj">
|
||||||
|
<Project>{5724ba7d-a09a-4ba8-800b-c4c1561b3d69}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(QtIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>$(QtReleaseLibraries);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<ResourceCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\src;</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>HAVE_CONFIG_H;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(QtIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>$(QtDebugLibraries);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<ResourceCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\src;</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>HAVE_CONFIG_H;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
|
@ -40,6 +40,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libsecp256k1", "libsecp256k
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libleveldb", "libleveldb\libleveldb.vcxproj", "{18430FEF-6B61-4C53-B396-718E02850F1B}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libleveldb", "libleveldb\libleveldb.vcxproj", "{18430FEF-6B61-4C53-B396-718E02850F1B}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbitcoin_qt", "libbitcoin_qt\libbitcoin_qt.vcxproj", "{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bitcoin-qt", "bitcoin-qt\bitcoin-qt.vcxproj", "{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|x64 = Debug|x64
|
Debug|x64 = Debug|x64
|
||||||
|
@ -200,11 +204,27 @@ Global
|
||||||
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x64.Build.0 = Release|x64
|
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x64.Build.0 = Release|x64
|
||||||
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x86.ActiveCfg = Release|Win32
|
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x86.ActiveCfg = Release|Win32
|
||||||
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x86.Build.0 = Release|Win32
|
{18430FEF-6B61-4C53-B396-718E02850F1B}.Release|x86.Build.0 = Release|Win32
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Release|x64.Build.0 = Release|x64
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{2B4ABFF8-D1FD-4845-88C9-1F3C0A6512BF}.Release|x86.Build.0 = Release|Win32
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}.Release|x86.Build.0 = Release|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {DA7D16A6-E5F0-45B3-B194-C3FE64F1BFCD}
|
SolutionGuid = {8AA72EDA-2CD4-4564-B1E4-688B760EEEE9}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<VCProjectVersion>16.0</VCProjectVersion>
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||||||
<VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet>
|
<VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet>
|
||||||
<VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet>
|
<VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' and !Exists('$(WindowsSdkDir)\DesignTime\CommonConfiguration\Neutral\Windows.props')">
|
<PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' and !Exists('$(WindowsSdkDir)\DesignTime\CommonConfiguration\Neutral\Windows.props')">
|
||||||
<WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
|
<WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
|
||||||
<WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
|
<WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
|
||||||
|
@ -20,7 +21,7 @@
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Debug|x64">
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
|
@ -75,6 +77,7 @@
|
||||||
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
@ -88,6 +91,7 @@
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
|
@ -103,7 +107,7 @@
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
||||||
<DisableSpecificWarnings>4018;4221;4244;4267;4715;4805;</DisableSpecificWarnings>
|
<DisableSpecificWarnings>4018;4221;4244;4267;4334;4715;4805;</DisableSpecificWarnings>
|
||||||
<TreatWarningAsError>true</TreatWarningAsError>
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
<PreprocessorDefinitions>ZMQ_STATIC;NOMINMAX;WIN32;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_CONSOLE;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>ZMQ_STATIC;NOMINMAX;WIN32;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_CONSOLE;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>..\..\src;..\..\src\univalue\include;..\..\src\secp256k1\include;..\..\src\leveldb\include;..\..\src\leveldb\helpers\memenv;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\src;..\..\src\univalue\include;..\..\src\secp256k1\include;..\..\src\leveldb\include;..\..\src\leveldb\helpers\memenv;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
|
16
build_msvc/common.qt.init.vcxproj
Normal file
16
build_msvc/common.qt.init.vcxproj
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
|
||||||
|
<PropertyGroup Label="QtGlobals">
|
||||||
|
<QtBaseDir>C:\Qt5.9.7_ssl_x64_static_vs2017</QtBaseDir>
|
||||||
|
<QtPluginsLibraryDir>$(QtBaseDir)\plugins</QtPluginsLibraryDir>
|
||||||
|
<QtLibraryDir>$(QtBaseDir)\lib</QtLibraryDir>
|
||||||
|
<QtIncludeDir>$(QtBaseDir)\include</QtIncludeDir>
|
||||||
|
<QtIncludes>$(QtIncludeDir);$(QtIncludeDir)\QtNetwork;$(QtIncludeDir)\QtCore;$(QtIncludeDir)\QtWidgets;$(QtIncludeDir)\QtGui;</QtIncludes>
|
||||||
|
<GeneratedFilesOutDir>.\QtGeneratedFiles\qt</GeneratedFilesOutDir>
|
||||||
|
<QtToolsDir>$(QtBaseDir)\bin</QtToolsDir>
|
||||||
|
<QtReleaseLibraries>$(QtPluginsLibraryDir)\platforms\qminimal.lib;$(QtPluginsLibraryDir)\platforms\qwindows.lib;$(QtLibraryDir)\qtfreetype.lib;$(QtLibraryDir)\qtharfbuzz.lib;$(QtLibraryDir)\qtlibpng.lib;$(QtLibraryDir)\qtpcre2.lib;$(QtLibraryDir)\Qt5AccessibilitySupport.lib;$(QtLibraryDir)\Qt5Core.lib;$(QtLibraryDir)\Qt5Concurrent.lib;$(QtLibraryDir)\Qt5EventDispatcherSupport.lib;$(QtLibraryDir)\Qt5FontDatabaseSupport.lib;$(QtLibraryDir)\Qt5Gui.lib;$(QtLibraryDir)\Qt5Network.lib;$(QtLibraryDir)\Qt5PlatformCompositorSupport.lib;$(QtLibraryDir)\Qt5ThemeSupport.lib;$(QtLibraryDir)\Qt5Widgets.lib;$(QtLibraryDir)\Qt5WinExtras.lib;$(QtLibraryDir)\qtmain.lib;userenv.lib;netapi32.lib;imm32.lib;Dwmapi.lib;version.lib;winmm.lib;UxTheme.lib</QtReleaseLibraries>
|
||||||
|
<QtDebugLibraries>$(QtPluginsLibraryDir)\platforms\qwindowsd.lib;$(QtPluginsLibraryDir)\platforms\qminimald.lib;$(QtLibraryDir)\*d.lib;crypt32.lib;userenv.lib;netapi32.lib;imm32.lib;Dwmapi.lib;version.lib;winmm.lib;UxTheme.lib</QtDebugLibraries>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
File diff suppressed because it is too large
Load diff
|
@ -1,146 +1,123 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Label="configInitTarget" Project="..\common.init.vcxproj" />
|
<Import Project="..\common.init.vcxproj" />
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<Import Project="..\common.qt.init.vcxproj" />
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Debug|x64">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<VCProjectVersion>15.0</VCProjectVersion>
|
|
||||||
<ProjectGuid>{51201D5E-D939-4854-AE9D-008F03FF518E}</ProjectGuid>
|
<ProjectGuid>{51201D5E-D939-4854-AE9D-008F03FF518E}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>test_bitcoinqt</RootNamespace>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<PropertyGroup Label="Configuration">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<ItemGroup>
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ClCompile Include="..\..\src\test\setup_common.cpp" />
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<ClCompile Include="..\..\src\qt\test\addressbooktests.cpp" />
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<ClCompile Include="..\..\src\qt\test\apptests.cpp" />
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<ClCompile Include="..\..\src\qt\test\compattests.cpp" />
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<ClCompile Include="..\..\src\qt\test\rpcnestedtests.cpp" />
|
||||||
</PropertyGroup>
|
<ClCompile Include="..\..\src\qt\test\test_main.cpp" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<ClCompile Include="..\..\src\qt\test\uritests.cpp" />
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ClCompile Include="..\..\src\qt\test\util.cpp" />
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<ClCompile Include="..\..\src\qt\test\wallettests.cpp" />
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<ClCompile Include="..\..\src\wallet\test\wallet_test_fixture.cpp" />
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_addressbooktests.cpp" />
|
||||||
</PropertyGroup>
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_apptests.cpp" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_compattests.cpp" />
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_rpcnestedtests.cpp" />
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_uritests.cpp" />
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_wallettests.cpp" />
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
</ItemGroup>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<ItemGroup>
|
||||||
</PropertyGroup>
|
<ProjectReference Include="..\libbitcoinconsensus\libbitcoinconsensus.vcxproj">
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Project>{2b384fa8-9ee1-4544-93cb-0d733c25e8ce}</Project>
|
||||||
<ImportGroup Label="ExtensionSettings">
|
</ProjectReference>
|
||||||
</ImportGroup>
|
<ProjectReference Include="..\libbitcoin_cli\libbitcoin_cli.vcxproj">
|
||||||
<ImportGroup Label="Shared">
|
<Project>{0667528c-d734-4009-adf9-c0d6c4a5a5a6}</Project>
|
||||||
</ImportGroup>
|
</ProjectReference>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ProjectReference Include="..\libbitcoin_common\libbitcoin_common.vcxproj">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Project>{7c87e378-df58-482e-aa2f-1bc129bc19ce}</Project>
|
||||||
</ImportGroup>
|
</ProjectReference>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ProjectReference Include="..\libbitcoin_crypto\libbitcoin_crypto.vcxproj">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Project>{6190199c-6cf4-4dad-bfbd-93fa72a760c1}</Project>
|
||||||
</ImportGroup>
|
</ProjectReference>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ProjectReference Include="..\libbitcoin_qt\libbitcoin_qt.vcxproj">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Project>{2b4abff8-d1fd-4845-88c9-1f3c0a6512bf}</Project>
|
||||||
</ImportGroup>
|
</ProjectReference>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ProjectReference Include="..\libbitcoin_server\libbitcoin_server.vcxproj">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Project>{460fee33-1fe1-483f-b3bf-931ff8e969a5}</Project>
|
||||||
</ImportGroup>
|
</ProjectReference>
|
||||||
<PropertyGroup Label="UserMacros" />
|
<ProjectReference Include="..\libbitcoin_util\libbitcoin_util.vcxproj">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<Project>{b53a5535-ee9d-4c6f-9a26-f79ee3bc3754}</Project>
|
||||||
<LinkIncremental>false</LinkIncremental>
|
</ProjectReference>
|
||||||
</PropertyGroup>
|
<ProjectReference Include="..\libbitcoin_wallet\libbitcoin_wallet.vcxproj">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<Project>{93b86837-b543-48a5-a89b-7c87abb77df2}</Project>
|
||||||
<LinkIncremental>true</LinkIncremental>
|
</ProjectReference>
|
||||||
</PropertyGroup>
|
<ProjectReference Include="..\libbitcoin_zmq\libbitcoin_zmq.vcxproj">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<Project>{792d487f-f14c-49fc-a9de-3fc150f31c3f}</Project>
|
||||||
<LinkIncremental>true</LinkIncremental>
|
</ProjectReference>
|
||||||
</PropertyGroup>
|
<ProjectReference Include="..\libleveldb\libleveldb.vcxproj">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<Project>{18430fef-6b61-4c53-b396-718e02850f1b}</Project>
|
||||||
<LinkIncremental>false</LinkIncremental>
|
</ProjectReference>
|
||||||
</PropertyGroup>
|
<ProjectReference Include="..\libsecp256k1\libsecp256k1.vcxproj">
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<Project>{bb493552-3b8c-4a8c-bf69-a6e7a51d2ea6}</Project>
|
||||||
<ClCompile>
|
</ProjectReference>
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<ProjectReference Include="..\libunivalue\libunivalue.vcxproj">
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<Project>{5724ba7d-a09a-4ba8-800b-c4c1561b3d69}</Project>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
</ProjectReference>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
</ItemGroup>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<SDLCheck>true</SDLCheck>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<Optimization>Disabled</Optimization>
|
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<SDLCheck>true</SDLCheck>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<Optimization>Disabled</Optimization>
|
|
||||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<SDLCheck>true</SDLCheck>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<AdditionalIncludeDirectories>..\libbitcoin_qt\$(GeneratedFilesOutDir)\..\;$(QtIncludeDir)\QtTest;$(QtIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<SDLCheck>true</SDLCheck>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<AdditionalDependencies>$(QtReleaseLibaries);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<Import Label="configTarget" Project="..\common.vcxproj" />
|
|
||||||
</Project>
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\libbitcoin_qt\$(GeneratedFilesOutDir)\..\;$(QtIncludeDir)\QtTest;$(QtIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>$(QtDebugLibraries);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\addressbooktests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\apptests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\compattests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\paymentservertests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\rpcnestedtests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\uritests.h" />
|
||||||
|
<MocTestFiles Include="..\..\src\qt\test\wallettests.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Target Name="moccode" Inputs="@(MocTestFiles)" Outputs="@(MocTestFiles->'$(GeneratedFilesOutDir)\moc\moc_%(Filename).cpp')">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>There was an error executing the test_bitcoin-qt moc code generation task.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Exec Command="echo Performing test_bitcoin-qt moc generation task, output path $(GeneratedFilesOutDir)\moc." />
|
||||||
|
<MakeDir Directories="$(GeneratedFilesOutDir)\moc\" />
|
||||||
|
<Exec Command="$(QtToolsDir)\moc.exe $(MOC_DEFINES) "%(MocTestFiles.Identity)" -o $(GeneratedFilesOutDir)\moc\moc_%(Filename).cpp" />
|
||||||
|
</Target>
|
||||||
|
<Target Name="QtTestCleanGeneratedFiles">
|
||||||
|
<Exec Command="echo Clean test_bitcoin-qt generated files from $(GeneratedFilesOutDir)." />
|
||||||
|
<RemoveDir Directories="$(GeneratedFilesOutDir)\moc\*" />
|
||||||
|
<RemoveDir Directories="$(GeneratedFilesOutDir)\moc" />
|
||||||
|
</Target>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<BuildDependsOn>
|
||||||
|
moccode;
|
||||||
|
$(BuildDependsOn);
|
||||||
|
</BuildDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<CleanDependsOn>
|
||||||
|
QtTestCleanGeneratedFiles;
|
||||||
|
$(CleanDependsOn);
|
||||||
|
</CleanDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue