[Cmake] file.C not seen as C++ source file
Andy Cedilnik
andy.cedilnik at kitware.com
Wed Apr 2 14:21:52 EST 2003
Hi Peter,
We plan to put variety of extensions support in 1.8, but for now you are
stuck with .cpp, .cxx, and .cc (if you do not use visual studio).
Andy
On Tue, 2003-04-01 at 04:00, Peter Vanroose wrote:
> I'm trying to use CMake to compile C++ files with extension .C
> but it seems that CMake thinks these are C source files, despite
> the fact that CMake/Source/cmSystemTools.cxx at around line 2286
> seems to indicate that only ".c" is seen as C file extension.
>
> This happens both with gcc on Linux and on an SGI with its native
> compiler, so no DOS lowercase mapping can be involved.
> Below is an extract from the generated Makefile.
More information about the CMake
mailing list