[CMake] building c code as c++ code
Brandon Van Every
bvanevery at gmail.com
Sun Jun 10 10:59:36 EDT 2007
On 6/10/07, John Pretz <pretz at umdgrb.umd.edu> wrote:
>
> What I need to do is convince cmake that this .c source code is supposed
> to be compiled with a c++ compiler. If I rename the files (foo.c ->
> foo.cxx), it builds correctly, but again, assume I'm not allowed to
> modify the files.
You're saying PROJECT(projectname CXX) doesn't work? If it doesn't,
that's a showstopper bug. I'd be surprised.
Cheers,
Brandon Van Every
More information about the CMake
mailing list