https://gitlab.opengeosys.org/ogs/ogs.git
Revision c2a478f85fe136133a4b4462a48122bb0c36fd72 authored by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC, committed by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC
Iterator concepts for the covariant view

See merge request ogs/ogs!4565
2 parent s 7116a3b + 7240436
Raw File
Tip revision: c2a478f85fe136133a4b4462a48122bb0c36fd72 authored by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC
Merge branch 'covariant-view' into 'master'
Tip revision: c2a478f
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