[CMake] XCode 2.1 partial support
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Jul 18 11:04:44 EDT 2005
Ok so far the best I could find was:
FILE(READ
"/Developer/Applications/Xcode.app/Contents/version.plist"
XcodePlist)
STRING(REGEX REPLACE
".*<key>CFBundleShortVersionString</key>[\n \t]+<string>([0-9\\.]+)</string>.*"
"\\1" xcode_version "${XcodePlist}")
MESSAGE("VERSION ${xcode_version}")
Should return 1.5, 2.0 or 2.1 ...
Mathieu
>
> On 2005-07-18 10:46, William A. Hoffman said:
>
> >I am thinking that CMake will have Xcode 1.5 and Xcode 2.1 support.
> >I could be wrong, but I think that Xcode 2.0 will work with 1.5 projects as
> >things did not change too much. Also, Xcode 2.0 really did not get
> deployed
> >on too many machines anyway. I think we can determine if we are running
> >1.5/2.0 by running xcodebuild -help and seeing if -activeconfiguration
> >is an option.
>
> I never used 2.0. I agree cmake should not support it. I don't think
> many people are using 2.0.
>
> >So, I have a question for the Mac folks out there. Is it possible for
> >two version of Xcode to be installed on the same machine? Can you have
> >Xcode 1.5 and Xcode 2.1 on the same machine?
>
> No and No. Xcode is tied closely to the OS. 2.0/2.1 requires OS 10.4
> and will not work on 10.3. 1.5 requires 10.3 and will not work on 10.4.
>
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
More information about the CMake
mailing list