]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Synchronize adm files
authorinv <inv@opencascade.com>
Thu, 3 Oct 2013 07:53:08 +0000 (07:53 +0000)
committerinv <inv@opencascade.com>
Thu, 3 Oct 2013 07:53:08 +0000 (07:53 +0000)
adm_local_without_kernel/cmake_files/FindSalomeBoost.cmake
adm_local_without_kernel/cmake_files/FindSalomeCppUnit.cmake
adm_local_without_kernel/cmake_files/FindSalomeHDF5.cmake
adm_local_without_kernel/cmake_files/FindSalomeLibXml2.cmake
adm_local_without_kernel/cmake_files/FindSalomePython.cmake
adm_local_without_kernel/cmake_files/SalomeMacros.cmake

index 5cbb03c41a02657a3e7eaa47e178cca557deecb7..eedb4f1c7c850b751f19e83305f3ed91065d63be 100644 (file)
@@ -43,3 +43,5 @@ ENDIF()
 IF(WIN32)
   SET(BOOST_DEFINITIONS -DBOOST_DISABLE_ASSERTS)
 ENDIF()
+
+#SALOME_ACCUMULATE_HEADERS(Boost_INCLUDE_DIRS)
index cd3c5ce4b2db0f32ea8154dddfc0ad934a4be152..4eaf46eed9bb52399a019c83b90fcecdab3f18a3 100644 (file)
@@ -26,3 +26,5 @@
 
 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(CppUnit CPPUNIT_INCLUDE_DIRS 1)
 MARK_AS_ADVANCED(CPPUNIT_INCLUDE_DIRS CPPUNIT_LIBRARIES CPPUNIT_CONFIG_BIN CPPUNIT_SUBLIB_cppunit CPPUNIT_SUBLIB_dl)
+
+#SALOME_ACCUMULATE_HEADERS(CPPUNIT_INCLUDE_DIRS)
index 9b25dbeb298aeb0819409c4aaa8f800554ecce7c..24be3f1f5fa9b494e3a3dad64bae89e12a521050 100644 (file)
@@ -42,6 +42,8 @@ IF(NOT DEFINED HDF5_LIBRARIES)
   SET(HDF5_LIBRARIES hdf5)
 ENDIF()
 
+#SALOME_ACCUMULATE_HEADERS(HDF5_INCLUDE_DIRS)
+
 ##
 ## 7. Specific to HDF5 only:
 ## Expose MPI configuration to the rest of the world
index a129669260538babf23e5028d621a9bb9402a219..78019255e8a261e3e0d74fdee7a3af0f56fc47ee 100644 (file)
@@ -28,3 +28,4 @@ ELSE()
 ENDIF()
 #MARK_AS_ADVANCED()
 
+#SALOME_ACCUMULATE_HEADERS(LIBXML2_INCLUDE_DIR)
index 7704148dec791bb16076d8ea11de7b4ec993b314..5c1f6e87c227614add82a163b6f9d8501def8cc9 100644 (file)
@@ -173,3 +173,5 @@ ELSE()
 ENDIF()
 
 
+#SALOME_ACCUMULATE_HEADERS(PYTHON_INCLUDE_DIR)
+
index 6167a1290e05eb3dcff034f6ab1d16555656d973..a156c08b0ed5f3ecb8f1ac35ac74dc11ed95270d 100755 (executable)
@@ -615,3 +615,20 @@ MACRO(SALOME_XVERSION pkg)
                     OUTPUT_VARIABLE ${_pkg_UC}_XVERSION)
   ENDIF()
 ENDMACRO(SALOME_XVERSION)
+
+#########################################################################
+# SALOME_ACCUMULATE_HEADERS()
+# 
+# This macro is called in the various FindSalomeXYZ.cmake modules to accumulate
+# internally the list of include headers to be saved for future export. 
+# The full set of include is saved in a variable called 
+#      _${PROJECT_NAME}_EXTRA_HEADERS
+#
+MACRO(SALOME_ACCUMULATE_HEADERS lst)
+  FOREACH(l IN LISTS ${lst})
+    LIST(FIND _${PROJECT_NAME}_EXTRA_HEADERS "${l}" _res)
+    IF(_res EQUAL "-1")
+      LIST(APPEND _${PROJECT_NAME}_EXTRA_HEADERS "${l}")
+    ENDIF()
+  ENDFOREACH()
+ENDMACRO(SALOME_ACCUMULATE_HEADERS)