Skip to content

Commit

Permalink
Add mention of command-line CMake option setting
Browse files Browse the repository at this point in the history
  • Loading branch information
elmindreda committed Dec 16, 2015
1 parent 864ca4d commit ecd0453
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/compile.dox
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecd0453

Please sign in to comment.