https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: e6f7fc96c27af1e4b2bbaf93c86bdb5f3fa97e3d authored by Lars Bilke on 31 August 2021, 10:19:57 UTC
Merge branch 'git-clang-format' into 'master'
Tip revision: e6f7fc9
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