summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-21 12:17:09 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-21 12:17:18 (GMT)
commitcc5600f9fd371cc48ac63701f39baf136491bed0 (patch)
tree53c06bfbbe42feeed4b1a2fb922803c4daee8d9c /Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt
parent1cf94375174e7b939148a3ec7e3ae004d511719e (diff)
parent55ed21e72e5f1b44e1769e9ad1bfd0a6b46555ce (diff)
downloadCMake-cc5600f9fd371cc48ac63701f39baf136491bed0.zip
CMake-cc5600f9fd371cc48ac63701f39baf136491bed0.tar.gz
CMake-cc5600f9fd371cc48ac63701f39baf136491bed0.tar.bz2
Merge topic 'test_for_missing_sources'
55ed21e7 Tests: Add tests for missing sources in add_executable and add_library. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1269
Diffstat (limited to 'Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt')
-rw-r--r--Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt b/Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt
new file mode 100644
index 0000000..8f20096
--- /dev/null
+++ b/Tests/RunCMake/add_library/OBJECTwithNoSourcesButLinkObjects-stderr.txt
@@ -0,0 +1,6 @@
+^You have called ADD_LIBRARY for library TestObjectLibWithoutSources without any source files. This typically indicates a problem with your CMakeLists.txt file
+CMake Error at OBJECTwithNoSourcesButLinkObjects.cmake:[0-9]+ \(target_link_libraries\):
+ Object library target \"TestObjectLibWithoutSources\" may not link to
+ anything.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)$