summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/add_library/OBJECTwithOnlyObjectSources-stderr.txt
blob: f9cbf6b7da12a07bf635736beea1d462e2620d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
^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 OBJECTwithOnlyObjectSources.cmake:[0-9]+ \(add_library\):
  OBJECT library \"TestObjectLibWithoutSources\" contains:

    [^
]*test(\.cpp)?\.o(bj)?

  but may contain only sources that compile, header files, and other files
  that would not affect linking of a normal library.
Call Stack \(most recent call first\):
  CMakeLists.txt:[0-9]+ \(include\)


CMake Error at OBJECTwithOnlyObjectSources.cmake:[0-9]+ \(add_library\):
  Only executables and non-OBJECT libraries may reference target objects.
Call Stack \(most recent call first\):
  CMakeLists.txt:[0-9]+ \(include\)$