From: michael Date: Mon, 30 Nov 2020 12:59:32 +0000 (+0100) Subject: Improved cmake path X-Git-Tag: V9_7_0~121 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e283aee6f7649254c08d807ced81f36a40ecce69;p=tools%2Fsolverlab.git Improved cmake path --- diff --git a/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/CMakeLists.txt index 1f3ed1d..fdc4fc0 100755 --- a/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/CMakeLists.txt @@ -8,7 +8,7 @@ SET(MESH_MED ../../ressources/squareWithHexagons.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemUpwind) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemUpwind) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/CMakeLists.txt index 1e929f7..1a18ab0 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemCentered) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemCentered) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/CMakeLists.txt index 3b5873b..2f349fd 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemPStag) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemPStag) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/CMakeLists.txt index a97eaf8..5b36455 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemUpwind) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemUpwind) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/CMakeLists.txt index c755fc4..d54c556 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemCentered) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemCentered) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/CMakeLists.txt index 1276604..3aa9d62 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemPStag) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemPStag) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO) diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/CMakeLists.txt b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/CMakeLists.txt index eca8c87..376bb9d 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/CMakeLists.txt +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/CMakeLists.txt @@ -11,7 +11,7 @@ SET(MESH_MED ../../../ressources/ballWithTetrahedra.med ) -file(COPY ${MESH_MED} DESTINATION ${CMAKE_BINARY_DIR}/tests/examples/WaveSystemUpwind) +file(COPY ${MESH_MED} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES ${MESH_MED} DESTINATION share/examples/WaveSystemUpwind) if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO)