Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
6d100f9f
Commit
6d100f9f
authored
Mar 19, 2012
by
Brad King
Browse files
find_package: Test rejection of required+optional components
parent
d81d83c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Tests/RunCMake/find_package/ComponentRequiredAndOptional-result.txt
0 → 100644
View file @
6d100f9f
1
Tests/RunCMake/find_package/ComponentRequiredAndOptional-stderr.txt
0 → 100644
View file @
6d100f9f
CMake Error at ComponentRequiredAndOptional.cmake:1 \(find_package\):
find_package called with components that are both required and optional:
CompA
CompB
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake
0 → 100644
View file @
6d100f9f
find_package
(
NotHere REQUIRED CompA CompB CompC OPTIONAL_COMPONENTS CompA CompB CompD
)
Tests/RunCMake/find_package/RunCMakeTest.cmake
View file @
6d100f9f
include
(
RunCMake
)
include
(
RunCMake
)
run_cmake
(
ComponentRequiredAndOptional
)
run_cmake
(
MissingNormal
)
run_cmake
(
MissingNormal
)
run_cmake
(
MissingNormalRequired
)
run_cmake
(
MissingNormalRequired
)
run_cmake
(
MissingNormalVersion
)
run_cmake
(
MissingNormalVersion
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment