Skip to content
Snippets Groups Projects
Commit eefeb974 authored by marco's avatar marco
Browse files

add PREFIX and COMPILE_TMTOOLS to options output

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2379 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 8de50567
Branches
Tags
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment