File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Steps for generating solution/makefiles using `cmake-gui`:
5858* Make "source code" point to the source directory.
5959* Make "where to build the binary" point to the directory to use for the build.
6060* Click on the "Grouped" check box.
61- * Review JsonCpp build options (tick ` JSONCPP_LIB_BUILD_SHARED ` to build as a
61+ * Review JsonCpp build options (tick ` BUILD_SHARED_LIBS ` to build as a
6262 dynamic library).
6363* Click the configure button at the bottom, then the generate button.
6464* The generated solution/makefiles can be found in the binary directory.
@@ -67,7 +67,7 @@ Alternatively, from the command-line on Unix in the source directory:
6767
6868 mkdir -p build/debug
6969 cd build/debug
70- cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_STATIC =ON -DJSONCPP_LIB_BUILD_SHARED =OFF -G "Unix Makefiles" ../..
70+ cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS =ON -DBUILD_SHARED_LIBS =OFF -G "Unix Makefiles" ../..
7171 make
7272
7373Running ` cmake - ` " will display the list of available generators (passed using
You can’t perform that action at this time.
0 commit comments