https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: cebbe27c4a8eb90f07a57b5a417c7d04a3e967ef authored by ShuangChen88 on 02 March 2021, 13:57:17 UTC
Merge branch 'BHE_array_2D' into 'master'
Tip revision: cebbe27
CMakeLists.txt
get_source_files(SOURCES)

append_source_files(SOURCES Assembler)
append_source_files(SOURCES DOF)
append_source_files(SOURCES Fem)
append_source_files(SOURCES Fem/CoordinatesMapping)
append_source_files(SOURCES Fem/FiniteElement)
append_source_files(SOURCES Fem/Integration)
append_source_files(SOURCES Fem/ShapeFunction)
append_source_files(SOURCES TimeStepping)
append_source_files(SOURCES TimeStepping/Algorithms)
append_source_files(SOURCES Function)
append_source_files(SOURCES ODESolver)
append_source_files(SOURCES Extrapolation)

# Create the library
ogs_add_library(NumLib ${SOURCES})
target_include_directories(NumLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
if(OGS_USE_PETSC)
    target_compile_definitions(NumLib PUBLIC USE_PETSC)
endif()
set_target_properties(NumLib PROPERTIES LINKER_LANGUAGE CXX)

target_link_libraries(
    NumLib
    PUBLIC BaseLib GeoLib MathLib MeshLib
    PRIVATE MeshGeoToolsLib spdlog::spdlog)
back to top