Skip to content
Snippets Groups Projects
Verified Commit dfc87894 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Feature summary with add_feature_info().

parent a67ad383
No related branches found
No related tags found
No related merge requests found
...@@ -246,5 +246,4 @@ check_header_compilation() ...@@ -246,5 +246,4 @@ check_header_compilation()
include(scripts/cmake/MarkVariablesAdvanced.cmake) include(scripts/cmake/MarkVariablesAdvanced.cmake)
unset(PRE_INSTALL_RUN CACHE) unset(PRE_INSTALL_RUN CACHE)
include(FeatureSummary) include(Features)
feature_summary(WHAT ALL)
include(FeatureSummary)
add_feature_info(OGS OGS_BUILD_CLI "The OGS simulator (OGS_BUILD_CLI)")
add_feature_info(
Utilities OGS_BUILD_UTILS "Command line tools (OGS_BUILD_UTILS)"
)
add_feature_info(
DataExplorer OGS_BUILD_GUI
"Graphical data exploration and processing (OGS_BUILD_GUI)"
)
add_feature_info(
MFront OGS_USE_MFRONT "MFront material models (OGS_USE_MFRONT)"
)
add_feature_info(
Python-interface OGS_USE_PYTHON
"Python boundary conditions and source terms (OGS_USE_PYTHON)"
)
add_feature_info(PETSc OGS_USE_PETSC "Parallel processing (OGS_USE_PETSC)")
add_feature_info(
Tests OGS_BUILD_TESTING "Unit and benchmarks tests (OGS_BUILD_TESTING)"
)
add_feature_info(
build-shared BUILD_SHARED_LIBS "Shared libraries (BUILD_SHARED_LIBS)"
)
add_feature_info(
build-unity OGS_USE_UNITY_BUILDS "Unity build (OGS_USE_UNITY_BUILDS)"
)
feature_summary(WHAT PACKAGES_FOUND ENABLED_FEATURES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment