Revision 98812326bc0eba07972822b48c07709e1929c861 authored by Dmitri Naumov on 12 November 2021, 08:19:07 UTC, committed by Dmitri Naumov on 18 November 2021, 22:34:09 UTC
1 parent 0b0ea97
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::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>
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...