Revision f423e5b9c42520346949ae54f83478356bfc7995 authored by Lars Bilke on 23 July 2021, 08:35:45 UTC, committed by Lars Bilke on 23 July 2021, 08:35:45 UTC
[ci] C++ dependencies See merge request ogs/ogs!3712
CMakeLists.txt
# Source files
get_source_files(SOURCES)
append_source_files(SOURCES IO)
append_source_files(SOURCES IO/XmlIO/Boost)
if(OGS_BUILD_GUI)
append_source_files(SOURCES IO/XmlIO/Qt)
endif()
# Create the library
ogs_add_library(GeoLib ${SOURCES})
target_link_libraries(
GeoLib
PUBLIC BaseLib MathLib $<$<BOOL:${OGS_BUILD_GUI}>:rapidxml>
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml>
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns>
PRIVATE tet
)
configure_file(
IO/XmlIO/OpenGeoSysGLI.xsd
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/OpenGeoSysGLI.xsd COPYONLY
)
configure_file(
IO/XmlIO/OpenGeoSysSTN.xsd
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/OpenGeoSysSTN.xsd COPYONLY
)
install(FILES IO/XmlIO/OpenGeoSysGLI.xsd IO/XmlIO/OpenGeoSysSTN.xsd
DESTINATION bin
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...