diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-23 05:17:16 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-23 05:17:16 +0300 |
commit | 401de038d3bd7790c35ceac1770d346f11a8d14b (patch) | |
tree | 412286fe85accf4594c8acfbaefc7828ebff6eed | |
parent | um: common.cmake update (diff) | |
download | windows7-drivers-401de038d3bd7790c35ceac1770d346f11a8d14b.tar.gz windows7-drivers-401de038d3bd7790c35ceac1770d346f11a8d14b.zip |
um: README update
-rw-r--r-- | um/README.md | 30 |
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 + ... |