Commit 7dd058db authored by GILLES Sebastien's avatar GILLES Sebastien

#1264 Add the run of Elasticity model in the tests.

parent 41d0948b
......@@ -94,6 +94,8 @@ set(MOREFEM_COMMON_DEP
)
set(MOREFEM_ROOT ${PROJECT_SOURCE_DIR})
######################################################
# Settings to make shared library work correctly
......@@ -115,7 +117,8 @@ set(CMAKE_INSTALL_RPATH "${MOREFEM_INSTALL_DIR}/lib")
# which point to directories outside the build tree to the install RPATH
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)
enable_testing()
enable_testing()
######################################################
# Walk through Sources directory to find all sources to build.
......
......@@ -4231,6 +4231,7 @@
BE0AD2931CC18A950086EDF7 /* Coloring.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Coloring.cpp; sourceTree = "<group>"; };
BE0AD2941CC18A950086EDF7 /* Coloring.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Coloring.hpp; sourceTree = "<group>"; };
BE0AD2951CC18A950086EDF7 /* Coloring.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Coloring.hxx; sourceTree = "<group>"; };
BE0AFB702074C28E0089FD9D /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
BE0D22311CA2C6740068EAB9 /* BoundaryConditions.doxygen */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = BoundaryConditions.doxygen; sourceTree = "<group>"; };
BE0D22331CA2C9820068EAB9 /* Unknown.doxygen */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Unknown.doxygen; sourceTree = "<group>"; };
BE110E8C1E114F1400D2D2C8 /* TupleHelper.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = TupleHelper.hpp; sourceTree = "<group>"; };
......@@ -9776,6 +9777,7 @@
BE5ECE1219AC852E00C636A7 /* Stokes */ = {
isa = PBXGroup;
children = (
BE0AFB702074C28E0089FD9D /* CMakeLists.txt */,
BEB0C6151EC2FDD100D62905 /* README */,
BE6EA61D1EC32F8E0085E651 /* demo_input_stokes.lua */,
BEE33A1B1FE5C47800CADCFB /* demo_input_stokes_2_operators.lua */,
......@@ -63,8 +63,9 @@ endif()
include(PostProcessing/CMakeLists.txt)
include(ModelInstances/CMakeLists.txt)
include(Test/CMakeLists.txt)
include(ModelInstances/CMakeLists.txt)
# Tclap
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/ DESTINATION ${MOREFEM_INSTALL_DIR_INCL}
......
......@@ -22,7 +22,13 @@ add_executable(MoReFEM4Elasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4Elasticity
MoReFEM4Elasticity_lib)
morefem_install(MoReFEM4Elasticity MoReFEM4Elasticity_lib)
morefem_install(MoReFEM4Elasticity MoReFEM4Elasticity_lib)
message("ROOT = " ${MOREFEM_ROOT})
add_test(ElasticityModel
MoReFEM4Elasticity
-i ${MOREFEM_ROOT}/Sources/ModelInstances/Elasticity/demo_input_elasticity_3d.lua)
add_executable(MoReFEM4ElasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment