[CMake] *.c compiled with C compiler after clearing CMAKE_C_SOURCE_FILE_EXTENSIONS
Jed Brown
jed at 59A2.org
Tue Oct 12 09:44:41 EDT 2010
On Tue, Oct 12, 2010 at 15:33, Michael Wild <themiwi at gmail.com> wrote:
> set(SRCS src1.c src2.c src3.c)
> set_source_files_properties(${SRCS} PROPERTIES LANGUAGE CXX)
> add_executable(strange_beast ${SRCS})
>
I can do that, but what's the point of the extension-based mapping if you
have to set properties by file? Is the observed behavior a functional bug
(should have worked) or a documentation bug?
Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101012/bfe980fc/attachment.htm>
More information about the CMake
mailing list