https://gitlab.opengeosys.org/ogs/ogs.git
Revision 15a2ed9b4709a613aead07eb3247983f7d66789f authored by Dmitry Yu. Naumov on 07 June 2021, 10:16:13 UTC, committed by Dmitry Yu. Naumov on 07 June 2021, 10:16:13 UTC
New Process: Stokes flow

See merge request ogs/ogs!3617
2 parent s a43db31 + 24d8bcc
Raw File
Tip revision: 15a2ed9b4709a613aead07eb3247983f7d66789f authored by Dmitry Yu. Naumov on 07 June 2021, 10:16:13 UTC
Merge branch 'Stokes' into 'master'
Tip revision: 15a2ed9
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 spdlog::spdlog
)

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
)
back to top