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
a0f17fbe9c
CMake
/
Tests
/
CxxSubdirC
/
Cdir
/
Cobj.c
2 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Tests: Test using objects from a language enabled in a subdirectory (#15325) Add a test case that enables CXX in the top level and C in a subdirectory. Create an executable in the top level that uses C objects compiled in the subdirectory. Strictly speaking this is not defined behavior for all language combinations, but happens to work in this case. Test this behavior since projects might try to use it.
2014-12-23 03:55:08 +03:00
int
Cobj
(
void
)
{
return
0
;
}