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.
Showing
- Modules/FeatureSummary.cmake 171 additions, 70 deletionsModules/FeatureSummary.cmake
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-result.txt 1 addition, 0 deletions.../FeatureSummary/FeatureSummaryCustomBadDefault-result.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt 9 additions, 0 deletions.../FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault.cmake 8 additions, 0 deletions...CMake/FeatureSummary/FeatureSummaryCustomBadDefault.cmake
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-result.txt 1 addition, 0 deletions...ke/FeatureSummary/FeatureSummaryCustomRequired-result.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt 6 additions, 0 deletions...ke/FeatureSummary/FeatureSummaryCustomRequired-stderr.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired-stdout.txt 17 additions, 0 deletions...ke/FeatureSummary/FeatureSummaryCustomRequired-stdout.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequired.cmake 16 additions, 0 deletions...unCMake/FeatureSummary/FeatureSummaryCustomRequired.cmake
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListA-result.txt 1 addition, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListA-result.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListA-stderr.txt 6 additions, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListA-stderr.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListA-stdout.txt 17 additions, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListA-stdout.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListA.cmake 16 additions, 0 deletions...ke/FeatureSummary/FeatureSummaryCustomRequiredListA.cmake
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListB-result.txt 1 addition, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListB-result.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListB-stderr.txt 6 additions, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListB-stderr.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListB-stdout.txt 17 additions, 0 deletions...atureSummary/FeatureSummaryCustomRequiredListB-stdout.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomRequiredListB.cmake 16 additions, 0 deletions...ke/FeatureSummary/FeatureSummaryCustomRequiredListB.cmake
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomTypes-stdout.txt 29 additions, 0 deletions...CMake/FeatureSummary/FeatureSummaryCustomTypes-stdout.txt
- Tests/RunCMake/FeatureSummary/FeatureSummaryCustomTypes.cmake 36 additions, 0 deletions...s/RunCMake/FeatureSummary/FeatureSummaryCustomTypes.cmake
- Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake 5 additions, 0 deletionsTests/RunCMake/FeatureSummary/RunCMakeTest.cmake
Loading
Please register or sign in to comment