mirror of
https://github.com/reactos/CMake.git
synced 2025-01-26 22:07:24 +00:00
5683101669
Add "RunCMake.ObjectLibrary" test to verify that unsupported use cases are rejected with errors: * An OBJECT library may not reference another object library * An OBJECT library may not be referenced in target_link_libraries * An OBJECT library may not contain non-compiling sources * An OBJECT library may not have pre/post build/link commands * An OBJECT library may not be installed, exported, or imported Also verify that invalid $<TARGET_OBJECTS:...> expressions are diagnosed.
6 lines
225 B
Plaintext
6 lines
225 B
Plaintext
CMake Error at PreBuild.cmake:2 \(add_custom_command\):
|
|
Target "A" is an OBJECT library that may not have PRE_BUILD, PRE_LINK, or
|
|
POST_BUILD commands.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|