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
ee46e410ce
CMake
/
Tests
/
COnly
/
conly.c
10 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
2002-10-06 20:12:59 +04:00
#
include
"foo.h"
#
include
<stdio.h>
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
2002-04-03 00:43:23 +04:00
int
main
(
)
{
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
2002-10-06 20:12:59 +04:00
printf
(
"
Foo: %s
\n
"
,
foo
)
;
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
2002-04-03 00:43:23 +04:00
return
0
;
}