https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: daca86a25bf77c893a066f69e061e63551f3a6d3 authored by Norbert Grunwald on 22 July 2020, 10:07:13 UTC
cTest TH2M - H2-McWhorter test
Tip revision: daca86a
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)

if(MSVC)
    target_link_libraries(BaseLib PUBLIC WinMM) # needed for timeGetTime
endif()

if(OGS_BUILD_GUI)
    target_link_libraries(BaseLib PUBLIC Qt5::Xml Qt5::XmlPatterns)
endif()
back to top