This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
0
You've already forked CMake
Code
Issues
Pull Requests
Releases
Wiki
Activity
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 12: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-02 15:43:23 -05: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 12: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-02 15:43:23 -05:00
return
0
;
}
Reference in New Issue
Copy Permalink