From 6c0fb0b8ddaf1d849a46eae1687bced32ea37dfa Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 2 Nov 2014 16:22:09 +0000 Subject: [PATCH] Updated MSVC build doc. Now it mentions the 3rd party CMake modules used. Also some trailing whitespace trimmed. --- docs/BUILD.MSVC.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/BUILD.MSVC.md b/docs/BUILD.MSVC.md index 1a23b329..0a32e9ea 100644 --- a/docs/BUILD.MSVC.md +++ b/docs/BUILD.MSVC.md @@ -18,13 +18,13 @@ Most of the required binaries are pre-built, but the libcef_dll_wrapper dynamic #### yaml-cpp 1. Configure CMake and generate a build system for Visual Studio by running: -2. +2. ``` mkdir build cd build cmake.exe .. -G "Visual Studio 12" -DBOOST_ROOT={BOOST_ROOT} -DMSVC_SHARED_RT=OFF ``` - + Adapt the commands as necessary for your particular setup. 2. Open the generated solution file, and build it with `Release` configuration. @@ -37,18 +37,20 @@ Example CMake keys: `-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=build -DCMAKE_ARCHIVE_OUTP #### Libgit2 1. Configure CMake and generate a build system for Visual Studio by running: -2. +2. ``` mkdir build cd build cmake.exe .. -G "Visual Studio 12" -DBUILD_SHARED_LIBS=OFF -DSTATIC_CRT=ON ``` - + Adapt the commands as necessary for your particular setup. 2. Open the generated solution file, and build it with `Release` configuration. #### LOOT +LOOT uses a third-party CMake module to generate its build revision data, so first download the `GetGitRevisionDescription.cmake` and `GetGitRevisionDescription.cmake.in` files found in [this repository](https://github.com/rpavlik/cmake-modules) to the `build` subdirectory of the LOOT folder. + LOOT uses the following CMake variables to set build parameters: Parameter | Values | Default |Description