diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-06-27 12:50:57 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-06-27 14:57:34 (GMT) |
commit | 27d6e51ae9b57657289a4db6092d8a47472b842e (patch) | |
tree | c874f3bda593a598aff2696e2abf81148fca6c1f /Tests/RunCMake/export/DependOnDoubleExport-stderr.txt | |
parent | 49cfd390075ba1f92aa96bbf3d3510a813e0b068 (diff) | |
download | CMake-27d6e51ae9b57657289a4db6092d8a47472b842e.zip CMake-27d6e51ae9b57657289a4db6092d8a47472b842e.tar.gz CMake-27d6e51ae9b57657289a4db6092d8a47472b842e.tar.bz2 |
Tests: add tests for export set error messages
Diffstat (limited to 'Tests/RunCMake/export/DependOnDoubleExport-stderr.txt')
-rw-r--r-- | Tests/RunCMake/export/DependOnDoubleExport-stderr.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt b/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt new file mode 100644 index 0000000..b78c7e4 --- /dev/null +++ b/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt @@ -0,0 +1,13 @@ +CMake Error in CMakeLists.txt: + export called with target "exported" which requires target "doubleexported" + that is not in this export set, but in multiple other export sets: + .*/Tests/RunCMake/export/DependOnDoubleExport-build/exportset.cmake, + .*/Tests/RunCMake/export/DependOnDoubleExport-build/manual.cmake. + + + An exported target cannot depend upon another target which is exported + multiple times. Consider consolidating the exports of the "doubleexported" + target to a single export. + + +CMake Generate step failed. Build files cannot be regenerated correctly. |