]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Déplacement de l'instruction de création des tests
authorGerald NICOLAS <D68518@dsp0677846.(none)>
Thu, 14 Jan 2016 12:33:20 +0000 (13:33 +0100)
committerGerald NICOLAS <D68518@dsp0677846.(none)>
Mon, 18 Jan 2016 08:32:48 +0000 (09:32 +0100)
CMakeLists.txt
src/CMakeLists.txt

index 28003189500499adeb5b9876f5386cea24b25fcf..ce776724f23aac80b71dcae4b9f0092df4dc32c9 100755 (executable)
@@ -80,13 +80,18 @@ ENDIF(WIN32)
 OPTION(SALOME_BUILD_DOC "Generate SALOME HOMARD documentation" ON)
 OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
 
-# For salome test
-# ============
+
+# Other KERNEL optionals: 
 IF(SALOME_BUILD_TESTS)
   ENABLE_TESTING()
   FIND_PACKAGE(SalomeCppUnit)
   SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS)
 ENDIF()
+IF(SALOME_BUILD_DOC)
+  FIND_PACKAGE(SalomeSphinx)
+  SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
+ENDIF()
+
 
 ##
 ## From KERNEL:
@@ -102,12 +107,6 @@ FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
 # HDF5
 FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C)
 
-# Other KERNEL optionals:
-IF(SALOME_BUILD_DOC)
-  FIND_PACKAGE(SalomeSphinx)
-  SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
-ENDIF()
-
 
 ##
 ## From GUI:
@@ -217,8 +216,8 @@ ADD_SUBDIRECTORY(resources)
 ADD_SUBDIRECTORY(src)
 IF(SALOME_BUILD_DOC)
   ADD_SUBDIRECTORY(doc)
+ENDIF()
 ADD_SUBDIRECTORY(bin)
-ENDIF(SALOME_BUILD_DOC)
 
 # Header configuration
 # ====================
index aad68b6e801302129da1a62ad108d13b6a0fcb40..1226a565bcb14c41e18bd4bdfa5fdef389274433 100755 (executable)
@@ -32,14 +32,8 @@ SET(SUBDIRS
   ${SUBDIRS_COMMON}
 )
 
-# For salome test
-IF(SALOME_BUILD_TESTS)
-  INSTALL(FILES CTestTestfileInstall.cmake
-          DESTINATION ${SALOME_HOMARD_INSTALL_TEST}
-          RENAME CTestTestfile.cmake)
-ENDIF(SALOME_BUILD_TESTS)
-
 FOREACH(dir ${SUBDIRS})
- ADD_SUBDIRECTORY(${dir})
 ADD_SUBDIRECTORY(${dir})
 ENDFOREACH(dir ${SUBDIRS})
 
+