summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-02-28 16:36:38 (GMT)
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-03-03 18:52:13 (GMT)
commitd348cd1bc50b74786d3e350a3b29aa92eeca1339 (patch)
tree737ff76c71464d6798f2e1e1e48edaab2814c983 /Modules/FindMPI.cmake
parent8982a4b30161e90ac6b3f7db11c3c6772835e9f6 (diff)
downloadCMake-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 'Modules/FindMPI.cmake')
0 files changed, 0 insertions, 0 deletions