From d494d7a72582ee69da5a3deff69b17d71b67a8f3 Mon Sep 17 00:00:00 2001 From: Edward Hennis Date: Thu, 14 Jan 2021 16:17:04 -0500 Subject: [PATCH] Use 64-bit Visual Studio build tools in documentation and Travis --- .travis.yml | 1 + Builds/VisualStudio2017/README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ef79881b0..ecc58053dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -400,6 +400,7 @@ matrix: name: windows, visual studio, debug script: - 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} .. - export DESTDIR=${PWD}/_installed_ - travis_wait ${MAX_TIME_MIN} cmake --build . --parallel --verbose --config ${BLD_CONFIG} --target install diff --git a/Builds/VisualStudio2017/README.md b/Builds/VisualStudio2017/README.md index e52cf73158..33739d2323 100644 --- a/Builds/VisualStudio2017/README.md +++ b/Builds/VisualStudio2017/README.md @@ -214,7 +214,7 @@ execute the following commands within your `rippled` cloned repository: ``` mkdir 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**. Navigate to the `build\cmake` folder created above and select the `rippled.sln`