From 401de038d3bd7790c35ceac1770d346f11a8d14b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 23 May 2017 05:17:16 +0300 Subject: um: README update --- um/README.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'um') 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 + ... -- cgit v1.2.3