aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 05:17:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 05:17:16 +0300
commit401de038d3bd7790c35ceac1770d346f11a8d14b (patch)
tree412286fe85accf4594c8acfbaefc7828ebff6eed /um
parentum: common.cmake update (diff)
downloadwindows7-drivers-401de038d3bd7790c35ceac1770d346f11a8d14b.tar.gz
windows7-drivers-401de038d3bd7790c35ceac1770d346f11a8d14b.zip
um: README update
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
+ ...