OBJECTwithOnlyObjectSources-stderr.txt 593 B

12345678910111213141516
  1. ^CMake Error at OBJECTwithOnlyObjectSources.cmake:[0-9]+ \(add_library\):
  2. OBJECT library \"TestObjectLibWithoutSources\" contains:
  3. [^
  4. ]*test(\.cpp)?\.o(bj)?
  5. but may contain only sources that compile, header files, and other files
  6. that would not affect linking of a normal library.
  7. Call Stack \(most recent call first\):
  8. CMakeLists.txt:[0-9]+ \(include\)
  9. CMake Error at OBJECTwithOnlyObjectSources.cmake:[0-9]+ \(add_library\):
  10. Only executables and non-OBJECT libraries may reference target objects.
  11. Call Stack \(most recent call first\):
  12. CMakeLists.txt:[0-9]+ \(include\)$