[CMake] Cmake on Leopard wtih Xcode2.5
Chris Garrett
chris.garrett at calgaryscientific.com
Fri Nov 16 11:37:30 EST 2007
I'll have a look at that this weekend.
Chris
On 11/14/07, Sean McBride <sean at rogue-research.com> wrote:
>
> On 11/11/07 12:33 PM, Mike Jackson said:
>
> >This is because Apple now supports loading the developer tools where
> >ever you want them instead of always in /Developer. This is going to
> >play havoc with Cmake because I am assuming CMake is hard coded to
> >look in /Developer for the dev tools.
>
> Examining the CMake source reveals that it does indeed have some
> hardcoded /Developer paths.
>
> >I wonder if there is an
> >environment variable that can be set to indicate where the dev tools
> >are installed. CMake could then use that environment variable to
>
> The $DEVELOPER_DIR env var that you mentioned only seems to work from
> within Xcode. If you open Terminal and type 'printenv' it is not
> there. Pity.
>
> >figure out which Dev tools you want to use. Apple did this because
> >they also now support multiple versions of the Dev tools on a single
> >system. For instance, in Leopard (OS X 10.5) you can have both Xcode
> >3.0 and Xcode 2.5 installed.
>
> from the 'xcode-select' man page: "-print-path Prints the path of the
> current Xcode folder. This is a recommended way for scripts and other
> tools to locate the current Xcode folder."
>
> On my machine it gives:
>
> $ xcode-select -print-path
> /Developer
>
> Anyone have time to file a CMake bug?
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071116/03cdc23f/attachment.htm
More information about the CMake
mailing list