diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 15:41:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 15:41:27 +0300 |
commit | 360cc15a303ce6b5ac4b37830827fcd268419749 (patch) | |
tree | ea9a495fccc1a8b6ad0dfece8ce785c9d573760c /README.md | |
parent | aes: prettify CMakeLists.txt (diff) | |
download | aes-tools-360cc15a303ce6b5ac4b37830827fcd268419749.tar.gz aes-tools-360cc15a303ce6b5ac4b37830827fcd268419749.zip |
README: update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 11 insertions, 16 deletions
@@ -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 |