ccd29b9af8
When the primary source tree path named by a DATA{} reference does not exist, produce an AUTHOR_WARNING instead of a FATAL_ERROR. This is useful when writing a new DATA{} reference to a test reference output that has not been created yet. This way the developer can run the test, manually verify the output, and then copy it into place to provide the reference and eliminate the warning. If the named source tree path is expected to be a file but exists as a directory, we still need to produce a FATAL_ERROR.
15 lines
335 B
Plaintext
15 lines
335 B
Plaintext
CMake Error at .*/Modules/ExternalData.cmake:[0-9]+ \(message\):
|
|
Data file referenced by argument
|
|
|
|
DATA{Directory1}
|
|
|
|
corresponds to source tree path
|
|
|
|
Directory1
|
|
|
|
that is directory instead of a file!
|
|
Call Stack \(most recent call first\):
|
|
.*
|
|
Directory1.cmake:3 \(ExternalData_Add_Test\)
|
|
CMakeLists.txt:3 \(include\)
|