Revision dd88ec047cd9bdc87ffe94a4de7c784cb12ba910 authored by Dmitri Naumov on 06 March 2021, 11:29:10 UTC, committed by Dmitri Naumov on 08 March 2021, 12:21:22 UTC
1 parent 2453d1e
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>
)
target_compile_definitions(BaseLib
PUBLIC $<$<BOOL:${OGS_FATAL_ABORT}>:OGS_FATAL_ABORT>
PRIVATE $<$<BOOL:${OGS_USE_PETSC}>:USE_PETSC>
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...