diff --git a/CMakeLists.txt b/CMakeLists.txt index d59bd465412c9334bdc0c5be64a21d6be18678a2..c96118010709fb7957c724b3ac45be0204afb5d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ option(USE_DOUBLE_PRECISION "whether to compile in double precision" option(ENABLE_SPNAV "whether 3DConnexion devices should be supported" OFF) option(STATIC_PROPERTY_WORKAROUND "workaround for static property bug with some boost/boost_python combinations" OFF) -option(DEPLOYMENT "switch on deployment settings" OFF) +option(DEPLOYMENT "switch on deployment settings" OFF) option(COMPILE_TESTS "wheter unit tests should be compiled by default" OFF) if (PREFIX) @@ -77,7 +77,11 @@ if (USE_SHADER) else() set(_SHADER OFF) endif() - +if (COMPILE_TMTOOLS) + set(_TM_TOOLS ON) +else() + set(_TM_TOOLS OFF) +endif() if (ENABLE_IMG) set(_IMG ON) else() @@ -238,8 +242,8 @@ endif() add_subdirectory(modules) add_subdirectory(scripts) -add_subdirectory(deployment) -set(FILES_TO_BE_REMOVED CMakeFiles stage tests) +add_subdirectory(deployment) +set(FILES_TO_BE_REMOVED CMakeFiles stage tests) set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${FILES_TO_BE_REMOVED}") @@ -247,6 +251,7 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES message(STATUS "OpenStructure will be built with the following options:\n" + " Install Prefix (-PREFIX) : ${CMAKE_INSTALL_PREFIX}\n" " RPath in install (-DUSE_RPATH) : ${_USE_RPATH}\n" " Graphical interface (-DENABLE_UI) : ${_UI}\n" " OpenGL support (-DENABLE_GFX) : ${_OPENGL}\n" @@ -254,11 +259,12 @@ message(STATUS " Shader support (-DUSE_SHADER) : ${_SHADER}\n" " Optimize (-DOPTIMIZE) : ${_OPT}\n" " Double Precision (-DUSE_DOUBLE_PRECISION) : ${_DOUBLE_PREC}\n" - " Compound Lib (-DCOMPOUND_LIB) : ${_COMP_LIB}") + " Compound Lib (-DCOMPOUND_LIB) : ${_COMP_LIB}\n" + " TMAlign and TMScore (-DCOMPILE_TMTOOLS) : ${_TM_TOOLS}") # doc target to create HTML documentation #set(SPHINX sphinx-build) #set(SPHINX_OPTIONS -c doc/conf -b html -d doc/html/doctrees) #add_custom_target(doc COMMAND # ${SPHINX} ${SPHINX_OPTIONS} modules doc/html -# VERBATIM) +# VERBATIM)