summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FeatureSummary/FeatureSummaryWhatList.cmake
blob: d04ba885abec052265a9e7c3161f76a9cecd86c8 (plain)
1
2
3
4
5
6
7
8
9
include(FeatureSummary)

set(WITH_FOO 1)
set(WITH_BAR 0)

add_feature_info(Foo WITH_FOO "Foo.")
add_feature_info(Bar WITH_BAR "Bar.")

feature_summary(WHAT DISABLED_FEATURES ENABLED_FEATURES)