Revision d877963ebd8876fb6d435425371148d25ebcf0cb authored by Lars Bilke on 22 February 2021, 07:49:09 UTC, committed by Lars Bilke on 22 February 2021, 07:49:09 UTC
Some web styling and fixes See merge request ogs/ogs!3455
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>
)
Computing file changes ...