]> Creatis software - crea.git/commitdiff
remove spurious MESSAGE
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 5 Nov 2010 18:46:33 +0000 (18:46 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 5 Nov 2010 18:46:33 +0000 (18:46 +0000)
CMakeLists.txt
appli/creaNewProject/CMakeLists.txt
cmake/CREAMacro_FindAndUseLibraries.cmake

index a7e68d69a4880da72783c39f3e7354f39581cdf8..1ec2323179ff19fa4918f1bb027c090cc0a4b092 100644 (file)
@@ -24,7 +24,6 @@ INCLUDE(${CREA_CMAKE_DIR}/CREAMacros.cmake)
 
 
 CREA_PREVENT_IN_SOURCE_BUILD()
-
 SET(USE_BOOST ON)
 
 OPTION(CREA_BUILD_VTK "Build crea with vtk ?" OFF)
@@ -40,7 +39,6 @@ IF(CREA_BUILD_WX)
 ENDIF(CREA_BUILD_WX)
 
 CREA_FIND_AND_USE_LIBRARIES()
-
 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
 SET(CREA_LIB_PATH ${CMAKE_CREA_LIB_PATH} )
@@ -67,7 +65,6 @@ INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/src)
 ADD_SUBDIRECTORY(cmake)
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(appli)
-
 #-----------------------------------------------------------------------------
 OPTION( BUILD_SAMPLES "Build samples ?" OFF)
 IF(BUILD_SAMPLES)
index c1bc93fabac829a21c4c9517cc228f594e447463..3e540247505a17f360dcadc27b4776f94f5e118f 100644 (file)
@@ -87,7 +87,7 @@ ELSE(WIN32)
  #   ${CMAKE_CURRENT_SOURCE_DIR}/NewProject/lib/template_lib/${PROJECT_NAME}System.h
  #   @ONLY IMMEDIATE
  #   )
-    
+
   CREA_MKDIR(${EXECUTABLE_OUTPUT_PATH}/share/creaNewProject)
   CREA_CPDIR(${INPUT_PROJECT_DIR} ${EXECUTABLE_OUTPUT_PATH}/share/creaNewProject)
 
index 09fa8b0115c7560b018d3cf1703fa7c9ff8517aa..e678ebcf3ec4b1aca0d46c976e1a0c6e9868a52a 100644 (file)
@@ -41,7 +41,7 @@ IF(USE_QT4)
         
       CREA_DEFINE( USE_QT )
     #    SET(QT_LIBRARIES
-    #      ${QT_LIBRARIES}
+    #         ${QT_LIBRARIES}
     #      ) 
     #  MARK_AS_ADVANCED(Qt4_DIR)
    ENDIF(QT_FOUND)
@@ -198,13 +198,13 @@ IF(USE_GDCM2)
        IF(USE_VTK)
                IF(WIN32)
                  SET(GDCM_LIBRARIES
-                   ${GDCM_LIBRARIES}
+                       ${GDCM_LIBRARIES}
                        vtkgdcm
                        #gdcm2vtk
                     )
                ELSE(WIN32)
                    SET(GDCM_LIBRARIES
-                   ${GDCM_LIBRARIES}
+                       ${GDCM_LIBRARIES}
                        vtkgdcm
                        )
                ENDIF(WIN32)
@@ -212,11 +212,8 @@ IF(USE_GDCM2)
        ENDIF(USE_VTK)
       ENDIF(USE_GDCM_VTK)
      
-
 ENDIF(USE_GDCM2)
 
-
-
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
@@ -279,19 +276,14 @@ ENDIF(USE_TTH)
 #-----------------------------------------------------------------------------
 #-----------------------------------------------------------------------------
 IF(USE_BOOST)
-message(STATUS "1")
   IF(NOT Boost_FOUND)
       FIND_PACKAGE(Boost COMPONENTS filesystem  signals date_time regex REQUIRED)
     IF(Boost_FOUND)
-       message(STATUS "1 bis")
       MESSAGE ( STATUS "=======================================")
       MESSAGE ( STATUS "Looking for boost C++ library... - found in ${Boost_INCLUDE_DIR}")
       INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})        
                        LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS}) 
          IF(WIN32)
-         message("creamacro find and use lib = ${Boost_LIBRARIES}")
-       
-
                CREA_DEFINE( USE_BOOST )
                
                SET(BOOST_LIBRARIES
@@ -332,11 +324,9 @@ message(STATUS "1")
          MARK_AS_ADVANCED(Boost_LIBRARY_DIRS)
      
     ELSE(Boost_FOUND)
-       message(STATUS "2")
-      MESSAGE( "boost C++ library not found - Set Boost_INCLUDE_DIR to the directory containing boost headers")
+      MESSAGE( STATUS "boost C++ library not found - Set Boost_INCLUDE_DIR to the directory containing boost headers")
     ENDIF(Boost_FOUND)
   ENDIF(NOT Boost_FOUND)
-  message("${Boost_FOUND}")
  
 
 ENDIF(USE_BOOST)