Revision 11c74594cfc1feda21655f5f81cdb1d37e4b18bb authored by Lars Bilke on 24 October 2022, 11:35:56 UTC, committed by Lars Bilke on 04 November 2022, 09:55:30 UTC
1 parent 1d05ff7
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 SelfContainedSolverData)
append_source_files(SOURCES Common)
# Create the library
ogs_add_library(ChemistryLib ${SOURCES})
target_link_libraries(
ChemistryLib PUBLIC Eigen3::Eigen iphreeqc PRIVATE BaseLib MaterialLib 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
)
target_precompile_headers(ChemistryLib PRIVATE [["BaseLib/Error.h"]]
[["BaseLib/ConfigTree.h"]] [["BaseLib/Logging.h"]])
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...