You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
352 B
13 lines
352 B
8 years ago
|
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)
|