[CMake] CMake and it's invocation from MS VC7

Steve Johns steve.johns at verizon.net
Wed May 17 17:57:51 EDT 2006


> Can't you just rename the file to have a C++ extension?  If not, you can 
> get "foo.c" compiled as C++ by creating an extra file called "foo.cxx" and 
> adding it instead.  The file would contain just the code
>
> // foo.cxx
> #include "foo.c"

Good point.

Actually, it appears that I'm still seeing capital C  (e.g. "FOO.C") treated 
as C++, which is working out OK (so long as I know why it's happening <g>).

BTW, can you confirm that behavior is still "expected, as implemented" in 
CMake 2.4.2 ?




More information about the CMake mailing list