This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
c645590152
CMake
/
Tests
/
ObjectLibrary
/
dummy.c
2 lines
28 B
C
Raw
Normal View
History
Unescape
Escape
Test OBJECT library use without other sources Reference OBJECT libraries for inclusion in targets that have no other sources to verify that the linker language propagates correctly from the object libraries. Test with a STATIC library, a SHARED library, and an EXECUTABLE target. Use the static and shared libraries each in executables that end up using the object library symbols. In VS 6, 7, and 7.1 add a dummy object file to convince the IDE to build the targets without sources. In Xcode add a dummy source file to convince it to build targets without sources.
2012-03-14 17:24:26 +04:00
int
dummy
(
void
)
{
return
0
;
}