https://gitlab.opengeosys.org/ogs/ogs.git
Revision 429a45eb841ddfe63ce62c674de3e37ba34c7dce authored by Dmitri Naumov on 10 October 2021, 10:41:05 UTC, committed by Dmitri Naumov on 10 October 2021, 10:48:40 UTC
1 parent f54d158
Raw File
Tip revision: 429a45eb841ddfe63ce62c674de3e37ba34c7dce authored by Dmitri Naumov on 10 October 2021, 10:41:05 UTC
[CL] clang-format.
Tip revision: 429a45e
CMakeLists.txt
# Source files grouped by a directory
get_source_files(SOURCES)
append_source_files(SOURCES PhreeqcIOData)
append_source_files(SOURCES PhreeqcKernelData)
append_source_files(SOURCES Common)

# Create the library
ogs_add_library(ChemistryLib ${SOURCES})

target_link_libraries(
    ChemistryLib PUBLIC iphreeqc PRIVATE NumLib
)

# See https://github.com/ufz/ogs/pull/2982#issuecomment-641086788
set_source_files_properties(
    PhreeqcIO.cpp CreateChemicalSolverInterface.cpp PhreeqcKernel.cpp
    PROPERTIES SKIP_UNITY_BUILD_INCLUSION TRUE
)
back to top