CMakeLists.txt 1.04 KB
Newer Older
GILLES Sebastien's avatar
GILLES Sebastien committed
1
add_library(MoReFEMTestNonLinearMembrane_lib ${LIBRARY_TYPE} "")
2

GILLES Sebastien's avatar
GILLES Sebastien committed
3
target_sources(MoReFEMTestNonLinearMembrane_lib
4 5
    PRIVATE
        "${CMAKE_CURRENT_LIST_DIR}/Model.cpp"
6
        "${CMAKE_CURRENT_LIST_DIR}/TestP1P1.cpp"
7
        "${CMAKE_CURRENT_LIST_DIR}/TestP2P1.cpp"
8
        "${CMAKE_CURRENT_LIST_DIR}/ExpectedResults_P1P1.cpp"
9
        "${CMAKE_CURRENT_LIST_DIR}/ExpectedResults_P2P1.cpp"
10 11 12
	PRIVATE
		"${CMAKE_CURRENT_LIST_DIR}/Model.hpp"
		"${CMAKE_CURRENT_LIST_DIR}/Model.hxx"
13
		"${CMAKE_CURRENT_LIST_DIR}/InputData.hpp"
14 15 16
		"${CMAKE_CURRENT_LIST_DIR}/ExpectedResults.hpp"
)

17
target_link_libraries(MoReFEMTestNonLinearMembrane_lib
18
                      ${MOREFEM_TEST_TOOLS})
19 20


GILLES Sebastien's avatar
GILLES Sebastien committed
21 22 23
add_executable(MoReFEMTestNonLinearMembrane ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEMTestNonLinearMembrane
                      MoReFEMTestNonLinearMembrane_lib)
24

25
add_test(NonLinearMembrane MoReFEMTestNonLinearMembrane
26 27 28
         --
         ${MOREFEM_ROOT}
         ${MOREFEM_TEST_OUTPUT_DIR})
29

30
set_tests_properties(NonLinearMembrane PROPERTIES TIMEOUT 5)