From ecd04539ec9c608d664311b97e8894742912a70c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 16 Dec 2015 03:42:59 +0100 Subject: [PATCH] Add mention of command-line CMake option setting --- docs/compile.dox | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/compile.dox b/docs/compile.dox index 8d801735..d1a0dd52 100644 --- a/docs/compile.dox +++ b/docs/compile.dox @@ -166,9 +166,17 @@ available on all supported platforms. Some of these are de facto standards among projects using CMake and so have no `GLFW_` prefix. If you are using the GUI version of CMake, these are listed and can be changed -from there. If you are using the command-line version, use the `ccmake` tool. -Some package systems like Ubuntu and other distributions based on Debian -GNU/Linux have this tool in a separate `cmake-curses-gui` package. +from there. If you are using the command-line versionof CMake you can use the +`ccmake` ncurses GUI to set options. Some package systems like Ubuntu and other +distributions based on Debian GNU/Linux have this tool in a separate +`cmake-curses-gui` package. + +Finally, if you don't want to use any GUI, you can set options from the `cmake` +command-line with the `-D` flag. + +@code{.sh} +cmake -DBUILD_SHARED_LIBS=ON . +@endcode @subsubsection compile_options_shared Shared CMake options