swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: e7b1b425553aafb8219e02a0360e7a6f999a4b45 authored by Lars Bilke on 29 April 2021, 12:01:07 UTC
[cmake] Renamed OGS_DISABLE_CLCACHE to OGS_DISABLE_COMPILER_CACHE.
Tip revision: e7b1b42
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