https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 804d16360e9c8a57513d3bf30213532c5b58c152 authored by Dmitry Yu. Naumov on 05 July 2021, 07:56:58 UTC
Merge branch 'TH2M_HM_fully_saturated_test' into 'master'
Tip revision: 804d163
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 ${SOURCES})

target_link_libraries(
    BaseLib
    PUBLIC Boost::boost
           spdlog::spdlog
           std::filesystem
           $<$<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>
)
back to top