aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 04:36:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 04:36:52 +0300
commitdf841c514bd5f1eb9a790aea1f14a38e839c06a0 (patch)
tree0bacf3d17250fddf49c40201b7be918faaf1e34a
parentadd README (diff)
downloadwinapi-debug-df841c514bd5f1eb9a790aea1f14a38e839c06a0.tar.gz
winapi-debug-df841c514bd5f1eb9a790aea1f14a38e839c06a0.zip
README update
-rw-r--r--README.md50
1 files changed, 25 insertions, 25 deletions
diff --git a/README.md b/README.md
index ba1860c..b651162 100644
--- a/README.md
+++ b/README.md
@@ -9,34 +9,34 @@ hopeless again.
Do all kinds of crazy shit like resolving symbol names from their addresses &
vice versa, etc.
-Prerequisites
--------------
-
-* Boost.Filesystem
-* Boost.Program_options
-* Boost.System
-
Building
--------
-Create the build files using CMake and build using Visual Studio.
-For example, using Visual Studio 2015 Update 3 (targetting x86-64 and using
-static Boost libraries):
-
-```
-> cd
-C:\workspace\build\pdb-repo\msvc\x64
-
-> cmake -G "Visual Studio 14 2015 Win64" ^
- -D BOOST_ROOT=C:\workspace\third-party\boost_1_61_0 ^
- -D Boost_USE_STATIC_LIBS=ON ^
- -D Boost_USE_STATIC_RUNTIME=ON ^
- C:\workspace\personal\pdb-repo
-...
-
-> cmake --build . --config release -- /m
-...
-```
+Create the build files using CMake and build the project using Visual Studio.
+
+* **Prerequisites.**
+The following Boost libraries are required to build the project: Filesystem,
+Program_options, System.
+* **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
+`cmake`.
+* **Example.**
+In the example below, the project directory is
+"C:\workspace\personal\pdb-repo", Boost can be found in
+"C:\workspace\third-party\boost_1_61_0" and Visual Studio 2015 is used,
+targeting x86-64.
+
+ > cmake -G "Visual Studio 14 2015 Win64" ^
+ -D BOOST_ROOT=C:\workspace\third-party\boost_1_61_0 ^
+ -D Boost_USE_STATIC_RUNTIME=ON ^
+ C:\workspace\personal\pdb-repo
+ ...
+
+ > cmake --build . --config release -- /m
+ ...
License
-------