[CMake] *.c compiled with C compiler after clearing CMAKE_C_SOURCE_FILE_EXTENSIONS
Jed Brown
jed at 59A2.org
Tue Oct 12 09:26:17 EDT 2010
I realize this may look silly, but after
list (REMOVE_ITEM CMAKE_C_SOURCE_FILE_EXTENSIONS c)
list (APPEND CMAKE_CXX_SOURCE_FILE_EXTENSIONS c)
source files matching *.c are still compiled with the C compiler (not C++).
Is there a way to get *.c compiled with the C++ compiler?
(cmake-2.8.2)
Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101012/3e199c16/attachment.htm>
More information about the CMake
mailing list