mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Check for OBJECT_LIBRARY source files at start of generation
Teach cmGlobalGenerator::CheckTargets to include OBJECT_LIBRARY targets in the check for source file existence. Extend the RunCMake.ObjectLibrary test to cover this case.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CMake Error at MissingSource.cmake:1 \(add_library\):
|
||||
Cannot find source file:
|
||||
|
||||
missing.c
|
||||
|
||||
Tried extensions( \.[A-Za-z+]+|
|
||||
)*
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
Reference in New Issue
Block a user