From eefeb974b801aa18d61d0fdf18e3027a092e68b2 Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Fri, 11 Jun 2010 10:13:43 +0000
Subject: [PATCH] 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
---
 CMakeLists.txt | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d59bd4654..c96118010 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)
-- 
GitLab