CMake/Tests/RunCMake/Configure/CustomTargetAfterError-stderr.txt
Brad King b2282631f6 cmTarget: Do not mistake a preceding error for a CMP0049 failure
After calls to ProcessSourceItemCMP0049, check for an empty return
string to detect a failure instead of trusting GetErrorOccuredFlag.
The latter could have been left from a preceding non-fatal error.

Extend the RunCMake.Configure test to cover a case that exposed this
problem.
2014-07-30 13:48:33 -04:00

10 lines
327 B
Plaintext

^CMake Error at CustomTargetAfterError.cmake:1 \(message\):
Error before add_custom_target
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
+
CMake Error at CustomTargetAfterError.cmake:3 \(message\):
Error after add_custom_target
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$