[CMake] -DCMAKE_C_COMPILER:string="g++"
Brandon Van Every
bvanevery at gmail.com
Thu Aug 9 15:54:40 EDT 2007
On 8/9/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
> On Thursday 09 August 2007 14:14, Brandon Van Every wrote:
> > On 8/8/07, Alan W. Irwin <irwin at beluga.phys.uvic.ca> wrote:
> > > On 2007-08-08 21:52-0400 Bill Hoffman wrote:
> > > >> one of the c files includes a c++ file that is why I need to compile
> > > >> my c files with g++ and not gcc. One of the solution would be to
> > > >> rename my c file cpp or cxx
> > > >> thanks,
> > > >> Marie
> > > >
> > > > You can also set the language for that .c file to CXX.
> > > > set_source_file_properties(foo.c PROPERTIES LANGUAGE CXX)
> > >
> > > Bill, the LANGUAGE property for set_source_files_properties is not
> > > documented. Please fix!
> >
> > I filed bug #5393 a little over 2 weeks ago. We first raised this
> > issue on the mailing list 6 weeks before that. Asking to have it
> > fixed doesn't do any good. I've filed lots of "Content" bugs over the
> > past year, now called "text" bugs. Some are trivial to fix, others
> > would take elbow grease to deal with. Almost none have been dealt
> > with. We need a better way for the community to handle this, because
> > Kitware isn't going to deal with most of them.
>
> That's not completely true, some issues were fixed but simply the bugs were
> not closed.
I'll go back over the CVS version of cmake.html later today and see
what "text" bugs are still there.
> If you have an improvement for the documentation, it also helps if you create
> a patch.
I will try that for the trivial "text" bugs. The elbow grease "text"
bugs need more infrastructure than that.
Cheers,
Brandon Van Every
More information about the CMake
mailing list