Revision 1cfb99d881eeda999ca3489cd860a6703d23fe4d authored by Lars Bilke on 31 January 2023, 07:20:15 UTC, committed by Lars Bilke on 31 January 2023, 07:20:15 UTC
Draft: [ci] Pipeline refactoring See merge request ogs/ogs!4464
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 ...