[CMake] How to tell cmake to use libs under Frameworks instead of macports and how to produce valid xcode project file, on Mac OS X Snow Leopard.

Ryan Pavlik rpavlik at iastate.edu
Sat Jul 3 10:49:44 EDT 2010


  On 7/2/10 3:23 PM, Sergio Lopes wrote:
> Hi everyone, sorry the long subject.
>
> I'm trying to test some compilation options and would like to force
> cmake to use the libraries under /Library/Frameworks instead of those
> it finds on macports' lib folder. Specifically, I would like to use
> the SDL installation I have under the Frameworks folder, instead of
> the one macports installed as a dependency on another program.
>
> Currently, cmake produces a valid Makefile, using Unix Makefiles
> generator, but is links to the libraries on macports and I would like
> to use/test the others.
>
> Also, I find that when I try to generate a xcode project file with
> cmake, it always creates an invalid file that XCode can't read, I
> googled a bit and found some references to bugs on cmake 2.8.1, the
> one I'm using. Is this correct, are there problems with xcode files
> generated with this version?
>
> Regards,
>
> Sérgio Lopes
I've had no problems using CMake 2.8.1 and Xcode 3.1.3/4 - what version 
of xcode are you using?

Ryan


-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com/



More information about the CMake mailing list