From 360cc15a303ce6b5ac4b37830827fcd268419749 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 21 Dec 2019 15:41:27 +0300 Subject: README: update --- README.md | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 9c1b9e0..8cd9dc3 100644 --- a/README.md +++ b/README.md @@ -13,27 +13,22 @@ Create the build files using CMake and build using your native build tools (Visual Studio/make/etc.). * **Prerequisites.** -The following Boost libraries are required to build the project: Filesystem, -Program_options, System. +Depends on Boost.{Filesystem,Program_options}. * **Customization.** -The runtime libraries are linked statically by default (when this project is -the root CMake project). -Therefore, the Boost dependencies must also link them statically. -You can link the runtime dynamically by passing `-D USE_STATIC_RUNTIME=OFF` to +The runtime libraries are linked statically by default. +Therefore, the Boost libraries must also link them statically. +You can link the runtime dynamically by passing `-D CC_STATIC_RUNTIME=OFF` to `cmake`. * **Example.** -In the example below, the project directory is -"C:\workspace\personal\aes-tools", Boost can be found in -"C:\workspace\third-party\boost_1_58_0" and Visual Studio 2013 is used, -targeting x86. - - > cmake -G "Visual Studio 12 2013" ^ - -D BOOST_ROOT=C:\workspace\third-party\boost_1_58_0 ^ - -D Boost_USE_STATIC_RUNTIME=ON ^ - C:\workspace\personal\aes-tools +Using Visual Studio 2013 (targeting x86), build & install the release version +to C:\aes-tools: + + > cmake -G "Visual Studio 12 2013" -A Win32 ^ + -D BOOST_ROOT=C:\path\to\boost_1_58_0 ^ + C:\path\to\aes-tools ... - > cmake --build . --config release -- /m + > cmake --build . --config Release --target install -- /m ... Usage on older CPUs -- cgit v1.2.3