Revision e52efe453d9dd0d56acd2209d5eede01a6904fb9 authored by Tom Fischer on 31 March 2023, 12:59:18 UTC, committed by Tom Fischer on 31 March 2023, 12:59:18 UTC
Draft: Implement transformation from 'normal' `Mesh` to `NodePartitionedMesh`

See merge request ogs/ogs!4548
2 parent s 63a5ac5 + 576c9c3
Raw File
CMakeLists.txt
get_source_files(SOURCES)
append_source_files(SOURCES IO)
append_source_files(SOURCES IO/XmlIO)
if(OGS_BUILD_GUI)
    append_source_files(SOURCES IO/XmlIO/Qt)
endif()

# Create the library
ogs_add_library(BaseLib GENERATE_EXPORT_HEADER ${SOURCES})

target_link_libraries(
    BaseLib
    PUBLIC Boost::boost
           spdlog
           tclap
           $<$<BOOL:${MSVC}>:WinMM> # needed for timeGetTime
           $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml>
           $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns>
           $<$<BOOL:${OGS_USE_PETSC}>:petsc>
    PRIVATE xmlpatch
)

target_compile_definitions(
    BaseLib PUBLIC $<$<BOOL:${OGS_FATAL_ABORT}>:OGS_FATAL_ABORT>
)

target_precompile_headers(BaseLib PRIVATE Error.h ConfigTree.h Logging.h)
back to top