From: Andreas Schneider Date: Wed, 7 Oct 2015 14:42:32 +0000 (+0200) Subject: INSTALL: Add example for Windows X-Git-Tag: cmocka-1.1.1~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f55257afcef9eb64212c3ec97bfb1d8fa9dfb873;p=platform%2Fupstream%2Fcmocka.git INSTALL: Add example for Windows Looks like it isn't clear for some people reading that file that we support Windows and MSVC ... --- diff --git a/INSTALL b/INSTALL index 9cb1b03..ad661ac 100644 --- a/INSTALL +++ b/INSTALL @@ -21,7 +21,12 @@ GNU/Linux, MacOS X, MSYS/MinGW: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug .. make -On Windows you should choose a makefile gernerator with -G. +On Windows you should choose a makefile gernerator with -G, for example: + + cmake -G "Visual Studio 12 2013" -DCMAKE_BUILD_TYPE=Debug /path/to/source + +You can also use the CMake GUI which is shipped with CMake. It will list all +available generators for MSVC on Windows. ### CMake standard options Here is a list of the most interesting options provided out of the box by