Use 64-bit Visual Studio build tools in documentation and Travis

This commit is contained in:
Edward Hennis
2021-01-14 16:17:04 -05:00
committed by manojsdoshi
parent 36be4856fd
commit d494d7a725
2 changed files with 2 additions and 1 deletions

View File

@@ -400,6 +400,7 @@ matrix:
name: windows, visual studio, debug name: windows, visual studio, debug
script: script:
- mkdir -p build.ms && cd build.ms - mkdir -p build.ms && cd build.ms
- export CMAKE_EXTRA_ARGS="${CMAKE_EXTRA_ARGS} -DCMAKE_GENERATOR_TOOLSET=host=x64"
- cmake -G "Visual Studio 15 2017 Win64" ${CMAKE_EXTRA_ARGS} .. - cmake -G "Visual Studio 15 2017 Win64" ${CMAKE_EXTRA_ARGS} ..
- export DESTDIR=${PWD}/_installed_ - export DESTDIR=${PWD}/_installed_
- travis_wait ${MAX_TIME_MIN} cmake --build . --parallel --verbose --config ${BLD_CONFIG} --target install - travis_wait ${MAX_TIME_MIN} cmake --build . --parallel --verbose --config ${BLD_CONFIG} --target install

View File

@@ -214,7 +214,7 @@ execute the following commands within your `rippled` cloned repository:
``` ```
mkdir build\cmake mkdir build\cmake
cd build\cmake cd build\cmake
cmake ..\.. -G"Visual Studio 15 2017 Win64" -DBOOST_ROOT="C:\lib\boost_1_70_0" -DOPENSSL_ROOT="C:\lib\OpenSSL-Win64" cmake ..\.. -G"Visual Studio 15 2017 Win64" -DBOOST_ROOT="C:\lib\boost_1_70_0" -DOPENSSL_ROOT="C:\lib\OpenSSL-Win64" -DCMAKE_GENERATOR_TOOLSET=host=x64
``` ```
Now launch Visual Studio 2017 and select **File | Open | Project/Solution**. Now launch Visual Studio 2017 and select **File | Open | Project/Solution**.
Navigate to the `build\cmake` folder created above and select the `rippled.sln` Navigate to the `build\cmake` folder created above and select the `rippled.sln`