Diff of /iAIDA/src/CMakeLists.txt [6341ea] .. [f18679]  Maximize  Restore

Switch to side-by-side view

--- a/iAIDA/src/CMakeLists.txt
+++ b/iAIDA/src/CMakeLists.txt
@@ -8,17 +8,23 @@
 
 if ( ROOT_FOUND )
     file	(GLOB srcFilesROOT "AIDA_ROOT/*.cpp")
-	message ( "... added files for root ")
+	IF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
+		message ( "... added files for root ")
+	ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
 endif ( ROOT_FOUND )
 
 if ( GRACE_FOUND )
    file	(GLOB srcFilesPlot "AIDAGracePlotter/*.cpp")
-	message ( "... added files for Grace plotter ")
+	IF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
+		message ( "... added files for Grace plotter ")
+	ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
 endif ( GRACE_FOUND )
 
 if ( CERNLIB_FOUND )
    file	(GLOB srcFilesHbook "AIDA_HBook/*.cpp")
-	message ( "... added files for HBook ")
+	IF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
+		message ( "... added files for HBook ")
+	ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
 endif ( CERNLIB_FOUND )
 
 set( srcFiles ${srcFilesAIDA} ${srcFilesROOT} ${srcFilesPlot} ${srcFilesHbook} )

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks