1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00
Files
CMake/Tests/ObjectLibrary/Transitive/Transitive.c
Brad King 3b3de0fd17 Tests: Extend ObjectLibrary test with case for object lib dependencies
Add the test case from commit bab24e782c (target_link_libraries:
Propagate dependencies of object libraries, 2018-12-10,
v3.14.0-rc1~260^2) to the main ObjectLibrary test.
2020-03-04 13:04:00 -05:00

8 lines
112 B
C

extern int FooObject(void);
extern int FooStatic(void);
int main(void)
{
return FooObject() + FooStatic();
}