diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-03-03 18:51:57 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-03-03 18:52:13 (GMT) |
commit | 8372b4553bc58c00ad3ef923919ff5547746b95e (patch) | |
tree | 3989415b404f637602b8362f509aa0dc3798ddad /Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake | |
parent | d348cd1bc50b74786d3e350a3b29aa92eeca1339 (diff) | |
download | CMake-8372b4553bc58c00ad3ef923919ff5547746b95e.zip CMake-8372b4553bc58c00ad3ef923919ff5547746b95e.tar.gz CMake-8372b4553bc58c00ad3ef923919ff5547746b95e.tar.bz2 |
FeatureSummary: Add unit tests
Diffstat (limited to 'Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake')
-rw-r--r-- | Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake b/Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake new file mode 100644 index 0000000..c2d6d2e --- /dev/null +++ b/Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake @@ -0,0 +1,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 FOO) |