This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
1b9684562b
CMake
/
Tests
/
RunCMake
/
find_package
/
MissingConfig.cmake
3 lines
80 B
CMake
Raw
Normal View
History
Unescape
Escape
find_package: Test error and warning messages in failure cases Add a "CMakeCommands.find_package" test to run CMake on a bunch of cases in which find_package fails. Check that the process return code and warning/error messages are as expected. Record expected test output in corresponding files for reference by the check. These files will also serve as a reference for the message text in each case.
2012-02-28 22:34:53 +04:00
find_package
(
NotHere
CONFIG
)
find_package: Test that REQUIRED aborts processing correctly Verify that the command produces a FATAL_ERROR if and only if the missing package is REQUIRED.
2012-03-07 20:34:59 +04:00
message
(
WARNING
"This warning must be reachable."
)