diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-02-28 16:36:38 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-03-03 18:52:13 (GMT) |
commit | d348cd1bc50b74786d3e350a3b29aa92eeca1339 (patch) | |
tree | 737ff76c71464d6798f2e1e1e48edaab2814c983 /Tests/RunCMake/CMakeLists.txt | |
parent | 8982a4b30161e90ac6b3f7db11c3c6772835e9f6 (diff) | |
download | CMake-d348cd1bc50b74786d3e350a3b29aa92eeca1339.zip CMake-d348cd1bc50b74786d3e350a3b29aa92eeca1339.tar.gz CMake-d348cd1bc50b74786d3e350a3b29aa92eeca1339.tar.bz2 |
FeatureSummary: Allow to combine and reorder values for the "WHAT" option
For example it is now possible to do:
feature_summary(WHAT ENABLED_FEATURES
DISABLED_FEATURES)
That produces an output like:
--
-- The following features have been enabled:
* Feature1
* Feature2
-- The following features have been disabled:
* Feature2
Skipping the lists that are empty.
Without this patch this would require to do:
message(STATUS "")
feature_summary(WHAT ENABLED_FEATURES
DESCRIPTION "The following features have been enabled:")
feature_summary(WHAT DISABLED_FEATURES
DESCRIPTION "The following features have been disabled:")
And empty lists would not be skipped.
The behaviour when WHAT has a single argument (ALL or any option) is
unchanged.
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions