Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
dfc87894
Verified
Commit
dfc87894
authored
3 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Feature summary with add_feature_info().
parent
a67ad383
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-2
1 addition, 2 deletions
CMakeLists.txt
scripts/cmake/Features.cmake
+28
-0
28 additions, 0 deletions
scripts/cmake/Features.cmake
with
29 additions
and
2 deletions
CMakeLists.txt
+
1
−
2
View file @
dfc87894
...
@@ -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
)
This diff is collapsed.
Click to expand it.
scripts/cmake/Features.cmake
0 → 100644
+
28
−
0
View file @
dfc87894
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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment