https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 96e88ef1664e7046ff48dd3a2c44921e30e12833 authored by wenqing on 15 December 2020, 13:26:42 UTC
Merge branch 'benchmark_doc' into 'master'
Tip revision: 96e88ef
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>
)
back to top