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/FeatureSummaryCustomRequired-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/FeatureSummaryCustomRequired-stderr.txt')
-rw-r--r-- | Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt b/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt new file mode 100644 index 0000000..e37b9f5 --- /dev/null +++ b/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt @@ -0,0 +1,6 @@ +CMake Error at .*/Modules/FeatureSummary\.cmake:[0-9]+. \(message\): + feature_summary\(\) Error: REQUIRED package\(s\) are missing, aborting CMake + run. +Call Stack \(most recent call first\): + FeatureSummaryCustomRequired.cmake:[0-9]+ \(feature_summary\) + CMakeLists.txt:[0-9]+ \(include\) |