CMakeLists.txt 835 Bytes
Newer Older
1
add_library(MoReFEM4hyperelasticity_lib ${LIBRARY_TYPE} "")
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

target_sources(MoReFEM4hyperelasticity_lib
    PRIVATE
        "${CMAKE_CURRENT_LIST_DIR}/Model.cpp" / 
        "${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.cpp"
	PUBLIC
		"${CMAKE_CURRENT_LIST_DIR}/Model.hpp" /
		"${CMAKE_CURRENT_LIST_DIR}/Model.hxx" /
		"${CMAKE_CURRENT_LIST_DIR}/InputParameterList.hpp" /
 		"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.hpp" /
		"${CMAKE_CURRENT_LIST_DIR}/VariationalFormulation.hxx"
)

target_link_libraries(MoReFEM4hyperelasticity_lib
                      ${MOREFEM_MODEL}
                      ${ALL_LOAD_FLAG})


add_executable(MoReFEM4hyperelasticity ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(MoReFEM4hyperelasticity
                      MoReFEM4hyperelasticity_lib)