Commit ca5a285d authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[ADD] - GUI can now be turned for in CMake

parent 6c4e7b12
...@@ -244,7 +244,6 @@ IF( OPENSCENEGRAPH_FOUND ) ...@@ -244,7 +244,6 @@ IF( OPENSCENEGRAPH_FOUND )
INCLUDE_DIRECTORIES( ${OPENSCENEGRAPH_INCLUDE_DIRS} ) INCLUDE_DIRECTORIES( ${OPENSCENEGRAPH_INCLUDE_DIRS} )
ENDIF() ENDIF()
# ----------------------------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------------------------
# Eigen3, at least 3.0.0 # Eigen3, at least 3.0.0
# See http://eigen.tuxfamily.org # See http://eigen.tuxfamily.org
...@@ -397,7 +396,7 @@ ADD_CUSTOM_TARGET( many ...@@ -397,7 +396,7 @@ ADD_CUSTOM_TARGET( many
ADD_CUSTOM_TARGET( list_install_tarets ADD_CUSTOM_TARGET( list_install_tarets
COMMAND echo The following components can be installed: COMMAND echo The following components can be installed:
COMMAND echo " * install - install everything." COMMAND echo " * install - install everything."
COMMAND echo " * install_runtime - install only openwalnut-qt4." COMMAND echo " * install_runtime - install the GUIs."
COMMAND echo " * install_lib - install only libopenwalnut." COMMAND echo " * install_lib - install only libopenwalnut."
COMMAND echo " * install_modules - install only the compiled modules." COMMAND echo " * install_modules - install only the compiled modules."
COMMAND echo " * install_dev - install the development headers for libopenwalnut." COMMAND echo " * install_dev - install the development headers for libopenwalnut."
...@@ -460,11 +459,14 @@ ADD_SUBDIRECTORY( core ) ...@@ -460,11 +459,14 @@ ADD_SUBDIRECTORY( core )
# ----------------------------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------------------------
# QT4 OpenWalnut binary # QT4 OpenWalnut binary
SET( OWQt4GuiName "qt4gui" ) OPTION( OW_GUI_QT4 "Enable this to build the QT4-based OpenWalnut GUI." ON )
SET( OWBinaryName "openwalnut-qt4" ) IF( OW_GUI_QT4 )
SET( OWQt4GuiName "qt4gui" )
SET( OWBinaryName "openwalnut-qt4" )
# build core # build
ADD_SUBDIRECTORY( qt4gui ) ADD_SUBDIRECTORY( qt4gui )
ENDIF()
# ----------------------------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------------------------
# Modules # Modules
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment