mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
6a7d5e414d
Closes: #26468
11 lines
217 B
CMake
11 lines
217 B
CMake
include(FeatureSummary)
|
|
|
|
set(WITH_FOO 1)
|
|
set(WITH_BAR 1)
|
|
set(WITH_BAZ 0)
|
|
|
|
add_feature_info(Foo "WITH_FOO AND (WITH_BAR OR WITH_BAZ)" "Foo.")
|
|
add_feature_info(Bar "WITH_FOO;WITH_BAR" "Bar.")
|
|
|
|
feature_summary(WHAT ALL)
|