aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 15:41:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 15:41:27 +0300
commit360cc15a303ce6b5ac4b37830827fcd268419749 (patch)
treeea9a495fccc1a8b6ad0dfece8ce785c9d573760c
parentaes: prettify CMakeLists.txt (diff)
downloadaes-tools-360cc15a303ce6b5ac4b37830827fcd268419749.tar.gz
aes-tools-360cc15a303ce6b5ac4b37830827fcd268419749.zip
README: update
-rw-r--r--README.md27
1 files 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