From 71ae9e567f3685ea678ef6def689a9ba0f7bdaa2 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 3 Apr 2012 06:38:46 +0000 Subject: [PATCH] MED CMakization --- resources/CMakeLists.txt | 7 +++++++ src/MedClient/test/test1/CMakeLists.txt | 1 + 2 files changed, 8 insertions(+) diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index 41dedd488..1bc91a233 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -223,3 +223,10 @@ IF(MED_ENABLE_GUI) ENDIF(MED_ENABLE_GUI) INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${MED_salomeres_DATA}) + +MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml") +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MEDCatalog.xml.in ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml @ONLY) +MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml") +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml @ONLY) + +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml DESTINATION ${MED_salomeres_DATA}) diff --git a/src/MedClient/test/test1/CMakeLists.txt b/src/MedClient/test/test1/CMakeLists.txt index 89ecab389..d5c2445ef 100644 --- a/src/MedClient/test/test1/CMakeLists.txt +++ b/src/MedClient/test/test1/CMakeLists.txt @@ -20,3 +20,4 @@ SET(MedClientTestsTest1 Compo1.py Compo1Py.py TestMedCorba1.py TestMedCorba2.py TestMedCorba3.py TestMedCorba4.py TestMedCorba5.py) INSTALL(FILES ${MedClientTestsTest1} DESTINATION ${MED_salomescript_PYTHON}) +INSTALL(FILES resources/Compo1PyCatalog.xml DESTINATION ${MED_salomeres_DATA}) -- 2.39.2