]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
SOURCE -> PROJECT
authorageay <ageay>
Tue, 9 Jul 2013 15:13:57 +0000 (15:13 +0000)
committerageay <ageay>
Tue, 9 Jul 2013 15:13:57 +0000 (15:13 +0000)
adm_local_without_kernel/cmake_files/FindSalomeLibXml2.cmake [new file with mode: 0644]
src/MEDCoupling_Swig/CMakeLists.txt
src/MEDOP/cmp/CMakeLists.txt
src/MEDOP/gui/CMakeLists.txt
src/MEDPartitioner/CMakeLists.txt
src/ParaMEDMEMTest/CMakeLists.txt

diff --git a/adm_local_without_kernel/cmake_files/FindSalomeLibXml2.cmake b/adm_local_without_kernel/cmake_files/FindSalomeLibXml2.cmake
new file mode 100644 (file)
index 0000000..a129669
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# LibXml2 detection for SALOME
+#
+#  !! Please read the generic detection procedure in SalomeMacros.cmake !!
+#
+IF(WIN32)
+  SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(LibXml2 LIBXML2_INCLUDE_DIR 1)
+ELSE()
+  SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(LibXml2 LIBXML2_INCLUDE_DIR 2)
+ENDIF()
+#MARK_AS_ADVANCED()
+
index d8859f7f6314b72c037207f426c3c7bac912081e..155412702ec9f19dcb39e2376b5c5dc0dd33c825 100644 (file)
@@ -36,7 +36,6 @@ INCLUDE_DIRECTORIES(
   ${PTHREAD_INCLUDE_DIRS} # pthread dependancy due to python2.7 library
   ${CMAKE_CURRENT_SOURCE_DIR}
   ${CMAKE_CURRENT_BINARY_DIR}
-  ${CMAKE_BINARY_DIR}
   ${CMAKE_CURRENT_SOURCE_DIR}/../MEDCoupling
   ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL
   ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/Bases
index 8cdc7bbaefe95537da0d1b572e76215c3a97669f..a2801b36d02dad6364f1f1d5e24f30313b60070c 100644 (file)
@@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
   ${PTHREAD_INCLUDE_DIRS}
   ${KERNEL_ROOT_DIR}/include/salome
   ${CMAKE_CURRENT_BINARY_DIR}
-  ${CMAKE_BINARY_DIR}/idl
+  ${PROJECT_BINARY_DIR}/idl
   ${PROJECT_SOURCE_DIR}/src/MEDCoupling
   ${PROJECT_SOURCE_DIR}/src/INTERP_KERNEL/Bases
   ${PROJECT_SOURCE_DIR}/src/INTERP_KERNEL
index a5095aac3416cfa778d5523632f39d7942415d1d..6a773cb4983848514006c45ff583e4734c2aa98f 100644 (file)
@@ -53,8 +53,8 @@ INCLUDE_DIRECTORIES(
   ${CMAKE_CURRENT_BINARY_DIR}/dialogs
   ${CMAKE_CURRENT_SOURCE_DIR}/../cmp
   ${CMAKE_CURRENT_SOURCE_DIR}/../../MEDGUI
-  ${CMAKE_BINARY_DIR}/idl
-  ${CMAKE_BINARY_DIR}
+  ${CMAKE_PROJECT_DIR}/idl
+  ${CMAKE_PROJECT_DIR}
 )
 
 SET(MEDOPGUITS_SOURCES
index 4cc5bf5dc058470a1a31d4e7386da1bc49ae3489..2c5c62dac6c65af8812f25981a07ff8b16169dd3 100644 (file)
@@ -129,7 +129,7 @@ IF(${SALOME_USE_MPI})
   SET_TARGET_PROPERTIES(medpartitioner_para PROPERTIES COMPILE_FLAGS "${medpartitionercpp_DEFINITIONS}")
   TARGET_LINK_LIBRARIES(medpartitioner_para medpartitionercpp ${medpartitionercpp_LDFLAGS})
   INSTALL(TARGETS medpartitioner_para DESTINATION ${SALOME_INSTALL_BINS})
-ENDIF(${SALOME_USE_MPI})                         
+ENDIF(${SALOME_USE_MPI})
   
 ADD_LIBRARY(medpartitionercpp SHARED ${medpartitionercpp_SOURCES})
 SET_TARGET_PROPERTIES(medpartitionercpp PROPERTIES COMPILE_FLAGS "${PLATFORM_DEFINITIONS} ${medpartitionercpp_DEFINITIONS}")
index 8234d6fea5663947b8701d73c78bba40a60be248..a54c6955bd2c2c72428823a1845aaefda4d03c72 100644 (file)
@@ -120,5 +120,3 @@ SET(COMMON_HEADERS_HXX
   MPI2Connector.hxx
 )
 INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
-
-                                       
\ No newline at end of file