Revision 19143850b31e36b82f361faf19d1d3ebd10af4e1 authored by Dmitry Yu. Naumov on 13 January 2023, 17:22:01 UTC, committed by Dmitry Yu. Naumov on 13 January 2023, 17:22:01 UTC
Moved local assembler creation to a separate file for TRM and TH2M

See merge request ogs/ogs!4436
2 parent s 54a7016 + 03b75be
Raw File
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 NumericalStability)
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 GENERATE_EXPORT_HEADER ${SOURCES})
set_target_properties(NumLib PROPERTIES LINKER_LANGUAGE CXX)

target_link_libraries(
    NumLib PUBLIC BaseLib GeoLib MathLib MeshLib $<$<TARGET_EXISTS:petsc>:petsc> Boost::mp11
    PRIVATE MeshGeoToolsLib
)

target_precompile_headers(NumLib PRIVATE [["BaseLib/Error.h"]]
    [["BaseLib/ConfigTree.h"]] [["BaseLib/Logging.h"]] <Eigen/Core>)
back to top