From 6c5e8b7923e6459434339e3a4e59a6b1b2474f3a Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Wed, 23 Jun 2010 08:42:08 +0000
Subject: [PATCH] show status of PROFILE flag during build

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2448 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 CMakeLists.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c96118010..732971b59 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,6 +87,11 @@ if (ENABLE_IMG)
 else()
   set(_IMG OFF)
 endif()
+if (PROFILE)
+  set(_PROFILE ON)
+else()
+  set(_PROFILE OFF)
+endif()
 
 if (COMPOUND_LIB)
   set(_COMP_LIB "${COMPOUND_LIB}")
@@ -255,9 +260,10 @@ message(STATUS
         "   RPath in install            (-DUSE_RPATH) : ${_USE_RPATH}\n"
         "   Graphical interface         (-DENABLE_UI) : ${_UI}\n"
         "   OpenGL support             (-DENABLE_GFX) : ${_OPENGL}\n"
-        "   Image Processing support   (-DENABLE_IMG) : ${_IMG}\n"        
+        "   Image Processing support   (-DENABLE_IMG) : ${_IMG}\n"
         "   Shader support             (-DUSE_SHADER) : ${_SHADER}\n"
         "   Optimize                     (-DOPTIMIZE) : ${_OPT}\n"
+        "   Profiling support             (-DPROFILE) : ${_PROFILE}\n"
         "   Double Precision (-DUSE_DOUBLE_PRECISION) : ${_DOUBLE_PREC}\n"
         "   Compound Lib             (-DCOMPOUND_LIB) : ${_COMP_LIB}\n"
         "   TMAlign and TMScore   (-DCOMPILE_TMTOOLS) : ${_TM_TOOLS}")
-- 
GitLab