OPTION(BUILD_SHARED_LIBS "Build FreeGLUT shared library." ON)
OPTION(BUILD_STATIC_LIBS "Build FreeGLUT static library." ON)
+# option for whether warnings and errors should be printed
+OPTION(FREEGLUT_ERRORS "Lib prints errors to stderr" ON)
+#MARK_AS_ADVANCED(FREEGLUT_ERRORS)
+OPTION(FREEGLUT_WARNINGS "Lib prints warnings to stderr" ON)
+#MARK_AS_ADVANCED(FREEGLUT_WARNINGS)
+
# option to also copy .pdb files to install directory when executing
# INSTALL target
IF(MSVC)
src/fg_input_devices.c
src/fg_joystick.c
src/fg_main.c
- src/fg_main.h
src/fg_misc.c
src/fg_overlay.c
src/fg_spaceball.c