summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FeatureSummary/FeatureSummaryMultipleDepends.cmake
blob: f355ae7b8ab2d5a0622cbf9693b8098a08d72e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(FeatureSummary)

set(WITH_FOO 1)
set(WITH_BAR 0)

add_feature_info(Foo "WITH_FOO;WITH_BAR" "Foo.")
add_feature_info(Bar "WITH_FOO;NOT WITH_BAR" "Bar.")
add_feature_info(Baz "WITH_FOO AND NOT WITH_BAR" "Baz.")
add_feature_info(Goo "WITH_FOO OR WITH_BAR" "Goo.")
add_feature_info(Fez "NOT WITH_FOO OR WITH_BAR" "Fez.")

feature_summary(WHAT ALL)