aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--um/README.md30
1 files changed, 17 insertions, 13 deletions
diff --git a/um/README.md b/um/README.md
index 905a47a..a983900 100644
--- a/um/README.md
+++ b/um/README.md
@@ -16,16 +16,20 @@ A couple of usage examples are included along with the drivers.
Building
--------
-Create the build files using CMake and build using Visual Studio.
-
-For example, using Visual Studio 2013 Update 4 for Windows Desktop (targetting
-x86):
-
- > cd
- C:\workspace\build\windows7-drivers\um
-
- > cmake -G "Visual Studio 12 2013" C:\workspace\personal\windows7-drivers\um
- ...
-
- > cmake --build . --config release
- ...
+Create the build files using CMake and build the project using Visual Studio.
+
+* **Customization.**
+The runtime libraries are linked statically by default (when this project is
+the root CMake project).
+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\windows7-drivers\um" and Visual Studio 2013 is used,
+targeting x86.
+
+ > cmake -G "Visual Studio 12 2013" C:\workspace\personal\windows7-drivers\um
+ ...
+
+ > cmake --build . --config release -- /m
+ ...