From c126a4767333b7bea81e51dace5ba6bcd9345702 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 17 Dec 2020 11:47:24 +0100 Subject: [PATCH] Addd a 3D sequential test --- CoreFlows/examples/C/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CoreFlows/examples/C/CMakeLists.txt b/CoreFlows/examples/C/CMakeLists.txt index 3ff6800..b966a6c 100755 --- a/CoreFlows/examples/C/CMakeLists.txt +++ b/CoreFlows/examples/C/CMakeLists.txt @@ -96,9 +96,14 @@ CreateTestExecAndInstall(StationaryDiffusionEquation_2DFV_StructuredSquares.cxx CreateTestExecAndInstall(StationaryDiffusionEquation_3DEF_StructuredTetrahedra.cxx "${libs_for_tests}" ) CreateTestExecAndInstall(StationaryDiffusionEquation_3DFV_StructuredTetrahedra.cxx "${libs_for_tests}" ) CreateTestExecAndInstall(testEOS.cxx "${libs_for_tests}" ) -CreateTestExecAndInstall(WaveSystem_2DFV_SphericalExplosion_CDMATH.cxx "${libs_for_tests}" ) + add_executable(WaveSystem_FV_SphericalExplosion_CDMATH.exe WaveSystem_2DFV_SphericalExplosion_CDMATH.cxx) + target_link_libraries(WaveSystem_FV_SphericalExplosion_CDMATH.exe CoreFlowsLibs ) + install(TARGETS WaveSystem_FV_SphericalExplosion_CDMATH.exe DESTINATION share/examples) + add_test(NAME WaveSystem_2DFV_SphericalExplosion_CDMATH_SQUARE COMMAND "./WaveSystem_FV_SphericalExplosion_CDMATH.exe") + add_test(NAME WaveSystem_3DFV_SphericalExplosion_CDMATH_CUBE COMMAND "./WaveSystem_FV_SphericalExplosion_CDMATH.exe" resources/meshCube.med) + if( SOLVERLAB_WITH_MPI ) add_executable(WaveSystem_2DFV_SphericalExplosion_MPI.exe WaveSystem_2DFV_SphericalExplosion_MPI.cxx) # compilation of the testxxx.exe target_link_libraries(WaveSystem_2DFV_SphericalExplosion_MPI.exe CoreFlowsLibs ${MPI_LIBRARY}) # provide required lib for testxxx.exe -- 2.39.2