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
14ab03ff69
CMake
/
Tests
/
COnly
/
CMakeLists.txt
4 lines
89 B
CMake
Raw
Normal View
History
Unescape
Escape
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
# a simple C only test case
PROJECT
(
conly
C
)
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
ADD_EXECUTABLE
(
conly
conly.c
foo.c
foo.h
)