diff options
author | Daniele E. Domenichelli <ddomenichelli@drdanz.it> | 2017-01-25 08:34:45 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <ddomenichelli@drdanz.it> | 2017-01-26 11:28:12 (GMT) |
commit | 3cfde818354a8f8e26a9b0b6589f3cc38b50e48d (patch) | |
tree | 0ed96321ae86471390ee0a41d2cc416da3d92c0c /Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt | |
parent | f0165eb624403c26989d1039c076d61536cc3074 (diff) | |
download | CMake-3cfde818354a8f8e26a9b0b6589f3cc38b50e48d.zip CMake-3cfde818354a8f8e26a9b0b6589f3cc38b50e48d.tar.gz CMake-3cfde818354a8f8e26a9b0b6589f3cc38b50e48d.tar.bz2 |
FeatureSummary: Refactor to use global properties for package types
These new global properties were added:
* FeatureSummary_PKG_TYPES: Package types accepted by FeatureSummary
(default REQUIRED RECOMMENDED OPTIONAL RUNTIME).
* FeatureSummary_REQUIRED_PKG_TYPES: Package types that will cause
FeatureSummary to abort when called with
FATAL_ON_MISSING_REQUIRED_PACKAGES and a package in these categories
is missing (default REQUIRED).
* FeatureSummary_DEFAULT_PKG_TYPE: Default package type assigned when
not explicitly assigned by the user (default OPTIONAL).
This allows to add and remove new package types that can be printed
selectively using the "WHAT" argument.
Diffstat (limited to 'Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt')
-rw-r--r-- | Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt b/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt new file mode 100644 index 0000000..58f6125 --- /dev/null +++ b/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at .*/Modules/FeatureSummary\.cmake:[0-9]+. \(message\): + Bad package property type OPTIONAL used in global property + FeatureSummary_DEFAULT_PKG_TYPE. Valid types are TYPE1, TYPE2 and TYPE3. + Either update FeatureSummary_DEFAULT_PKG_TYPE or add OPTIONAL to the + FeatureSummary_PKG_TYPES global property. +Call Stack \(most recent call first\): + .*/Modules/FeatureSummary\.cmake:[0-9]+. \(_FS_GET_FEATURE_SUMMARY\) + FeatureSummaryCustomBadDefault.cmake:[0-9]+ \(feature_summary\) + CMakeLists.txt:[0-9]+ \(include\) |