Fixed CMake / Unix build instructions.

This commit is contained in:
Baptiste Lepilleur 2013-05-08 20:37:54 +00:00
parent eafd702a17
commit ce277aa6e4

View File

@ -62,8 +62,9 @@ Generating solution/makefiles using cmake-gui:
Alternatively, from the command-line on Unix in the source directory: Alternatively, from the command-line on Unix in the source directory:
mkdir -p ../build/debug mkdir -p ../build/debug
cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles" ../build/debug cd ../build/debug
(cd ../build/debug && make) cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles" ../../jsoncpp-src
make
Running "cmake -h" will display the list of available generators (passed as -G option). Running "cmake -h" will display the list of available generators (passed as -G option).