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 | 24 |
1 files changed, 14 insertions, 10 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. +Create the build files using CMake and build the project using Visual Studio. -For example, using Visual Studio 2013 Update 4 for Windows Desktop (targetting -x86): +* **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. - > cd - C:\workspace\build\windows7-drivers\um + > cmake -G "Visual Studio 12 2013" C:\workspace\personal\windows7-drivers\um + ... - > cmake -G "Visual Studio 12 2013" C:\workspace\personal\windows7-drivers\um - ... - - > cmake --build . --config release - ... + > cmake --build . --config release -- /m + ... |
