Revision 174990ab73652067d97dddf2010864982897264b authored by Christoph Lehmann on 04 May 2022, 08:43:40 UTC, committed by Christoph Lehmann on 15 September 2022, 12:31:57 UTC
1 parent 1f06142
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 Eigen3::Eigen MathLib $<$<BOOL:${OGS_BUILD_GUI}>:rapidxml>
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml>
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns>
PRIVATE range-v3 tet
)
foreach(xsd OpenGeoSysGLI.xsd OpenGeoSysSTN.xsd)
# cmake-lint: disable=E1126
file(COPY_FILE IO/XmlIO/${xsd} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${xsd}
ONLY_IF_DIFFERENT
)
install(FILES IO/XmlIO/${xsd} DESTINATION bin)
endforeach()
Computing file changes ...