Add mention of command-line CMake option setting
This commit is contained in:
parent
864ca4dd57
commit
ecd04539ec
@ -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.
|
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
|
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.
|
from there. If you are using the command-line versionof CMake you can use the
|
||||||
Some package systems like Ubuntu and other distributions based on Debian
|
`ccmake` ncurses GUI to set options. Some package systems like Ubuntu and other
|
||||||
GNU/Linux have this tool in a separate `cmake-curses-gui` package.
|
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
|
@subsubsection compile_options_shared Shared CMake options
|
||||||
|
Loading…
Reference in New Issue
Block a user