# elastic_genTerm_dfloat - A solver for non linear elastic problems using FEM # Copyright (C) 2010-2026 Eric Bechet, Frederic Duboeuf # # See the LICENSE file for contributions and license information. # Please report all bugs and problems to . # cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # if CMAKE_BUILD_TYPE is specified use it; otherwise set the default # build type to "RelWithDebInfo" ("-O2 -g" with gcc) prior to calling # project() if(DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "Choose build type") else(DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose build type") endif(DEFINED CMAKE_BUILD_TYPE) project(elastic_genTerm CXX) include_directories(.) set(SRC elasticSolverDfloat.cpp) set(LINK_LIBRARIES genFem_shared shared ${GMSH_EXTERNAL_LIBRARIES}) add_executable(elastic_genTerm_dfloat ${SRC} mainElasticityDfloat.cpp) add_library(elastic_genTerm_dfloat_shared SHARED ${SRC}) target_link_libraries(elastic_genTerm_dfloat ${LINK_LIBRARIES}) target_link_libraries(elastic_genTerm_dfloat_shared ${LINK_LIBRARIES})