[CMake] Re: heads up on convenience lib ? and a problem on
source files with similar names...
Asmodehn Shade
asmodehn at gmail.com
Thu May 10 08:15:25 EDT 2007
Hi, and thanks for the hint.
You are right setting the language to CXX ignore C sources, and setting to C
ignores the CXX sources. I wondered what exactly were used this options in
PROJECT () for. now I know ;-)
I guess I expected that the CXX was able to build C project and use them as GCC
is. But obviously I was wrong. The doc for PROJECT() doesnt say enough IMHO...
I gathered a small sample of my problem in case it can be useful for someone at
some point to test that. I included it in this mail.
Mmm... actually I wonder how you can build and use JNIs with Cmake ;) but thats
another story, I ll play with that later on ;)
Thanks again !
--
Asmodehn
On Wed, 09 May 2007 08:20:12 -0700 (PDT)
"Alan W. Irwin" <irwin at beluga.phys.uvic.ca> wrote:
> On 2007-05-09 08:18-0400 Bill Hoffman wrote:
>
> > Asmodehn Shade wrote:
> >>
> >> PROJECT ( target CXX )
>
> That's a problem right there. That form of the command assures you will not
> get C support. Specify no language (which defaults to C and CXX) or else
> specify both C and CXX.
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
> package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sample.zip
Type: application/zip
Size: 2118 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20070510/16f25a97/Sample.zip
More information about the CMake
mailing list