[CMake] Cmake on Leopard wtih Xcode2.5

Chris Garrett chris.garrett at calgaryscientific.com
Sat Nov 10 16:43:56 EST 2007


Hi,

I just started using Leopard with Xcode2.5. I do not have Xcode3.0 installed
yet. When running cmake on Leopard I found I had to do the following:

1. Make /Xcode2.5/usr/bin first on the path

2. Edit CMakeCache.txt file and change the following:

CMAKE_C_FLAGS:STRING=-isysroot /Xcode2.5/SDKs/MacOSX10.4u.sdk
CMAKE_CXX_FLAGS:STRING=-isysroot /Xcode2.5/SDKs/MacOSX10.4u.sdk
CMAKE_OSX_SYSROOT:STRING=/Xcode2.5/SDKs/MacOSX10.4u.sdk

I also had to change any references to /System/Library/Frameworks/* to
/Xcode2.5/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/*

Is this the correct way to use Xcode2.5 on Leopard with Cmake?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071110/7fe203b4/attachment.htm


More information about the CMake mailing list