updated list of cmake switches in README.cmake
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1734 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
19edce36b2
commit
4ccfe206f1
@ -50,11 +50,25 @@ How to build freeglut on UNIX
|
|||||||
|
|
||||||
Breakdown of CMake configuration options
|
Breakdown of CMake configuration options
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
BUILD_SHARED_LIBS [ON, OFF] Build freeglut as a shared library
|
CMAKE_BUILD_TYPE [Empty, Debug, Release] Can be overriden by
|
||||||
BUILD_STATIC_LIBS [ON, OFF] Build freeglut as a static library
|
passing it as a make variable during build.
|
||||||
CMAKE_BUILD_TYPE [Empty, Debug, Release] Can be overriden by passing it
|
CMAKE_INSTALL_PREFIX Installation prefix (e.g. /usr/local on UNIX)
|
||||||
as a make variable during build.
|
FREEGLUT_BUILD_DEMOS [ON, OFF] Controls whether the demos are
|
||||||
CMAKE_INSTALL_PREFIX Installation prefix (e.g. /usr/local on UNIX)
|
built or not.
|
||||||
FREEGLUT_BUILD_DEMOS [ON, OFF] Controls whether the demos are built or not.
|
FREEGLUT_BUILD_SHARED_LIBS [ON, OFF] Build freeglut as a shared library
|
||||||
FREEGLUT_GLES1 [ON, OFF] TODO
|
FREEGLUT_BUILD_STATIC_LIBS [ON, OFF] Build freeglut as a static library
|
||||||
FREEGLUT_GLES2 [ON, OFF] TODO
|
FREEGLUT_GLES [ON, OFF] Link with GLEs libraries instead
|
||||||
|
of OpenGL
|
||||||
|
FREEGLUT_PRINT_ERRORS [ON, OFF] Controls whether errors are
|
||||||
|
default handled or not when user does not
|
||||||
|
provide an error callback
|
||||||
|
FREEGLUT_PRINT_WARNINGS [ON, OFF] Controls whether warnings are
|
||||||
|
default handled or not when user does not
|
||||||
|
provide an warning callback
|
||||||
|
FREEGLUT_REPLACE_GLUT [ON, OFF] For non-Windows platforms,
|
||||||
|
freeglut is by default built as -lglut. if
|
||||||
|
off, built as -lfreeglut. On Windows,
|
||||||
|
libraries are always built as freeglut.
|
||||||
|
INSTALL_PDB [ON, OFF] MSVC only: controls whether debug
|
||||||
|
information files are included with the
|
||||||
|
install or not
|
||||||
|
Reference in New Issue
Block a user