Thats good info thank you,<br>Chris<br><br><div><span class="gmail_quote">On 11/11/07, <b class="gmail_sendername">Mike Jackson</b> &lt;<a href="mailto:imikejackson@gmail.com">imikejackson@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Just adding some more information:<div><br></div><div><a href="http://lists.apple.com/archives/xcode-users/2007/Oct/msg00690.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.apple.com/archives/xcode-users/2007/Oct/msg00690.html
</a></div><div><br></div><div>and also</div><div><br></div><div>&lt;<a href="http://developer.apple.com/releasenotes/DeveloperTools/RN-XcodePrevious/index.html#//apple_ref/doc/uid/TP40001436-DontLinkElementID_3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://developer.apple.com/releasenotes/DeveloperTools/RN-XcodePrevious/index.html#//apple_ref/doc/uid/TP40001436-DontLinkElementID_3</a>&gt;</div><div><br></div><div>there is a command line tool called xcode-select that can be used to determine the path to the currently selected version of Xcode, BUT this is ONLY installed with Xcode 
3.0. Apple does support the environment variable &quot;DEVELOPER_DIR&quot; for some things but I have not determined if this is supported by Xcode 2.5. I think some additions to the Darwin.cmake module to take into account some of these items may have to be performed. The big thing here is that if you install ONLY Xcode 
2.5 on LEOPARD, then you have to use something like &#39;/Xcode2.5/usr/bin/make&#39; to invoke &#39;make&#39; or put&nbsp;/Xcode2.5/usr/bin/ on your PATH variable first, as you have already done.</div><div><br></div><div>Hope some of this helps.
</div><div><span class="q"><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>--</div><div>Mike Jackson</div><div>imikejackson &amp; gmail * com</div><div><br></div><br></span></span> </div><br></span><div><span class="e" id="q_1163006bdcf3d815_2"><div><div>On Nov 11, 2007, at 1:12 PM, Mike Jackson wrote:
</div><br><blockquote type="cite">Here is some more information gleaned from the Xcode 2.5 release notes.<div>&nbsp; When installed on OS X 10.4 (Tiger), Xcode 2.5 continues to be installed in /Developer and other places as usual. I am assuming CMake should continue to run just fine and find the frameworks just fine also.
</div><div>&nbsp; &nbsp;On OS X 10.5 Leopard, the DEFAULT installation location for Xcode 2.5 is /Xcode2.5 and all frameworks, binaries and support files are located _within_ this Directory. So things like &#39;make&#39; and autotools type stuff is located in /Xcode2.5/usr/bin. This would be a good default for CMake to look for things in. Although the user has the choice of changing the installation directory.
</div><div><br></div><div>I am going to ask in the Xcode-users mailing list about some way to detect _where_ the user has things installed. I also thought there was a command line tool to switch between Xcode versions but I am not finding anything about it in the release notes.
</div><div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>--</div><div>Mike Jackson</div><div>imikejackson &amp; gmail * com</div><div><br></div><br></span></span> </div><br><div><div>On Nov 11, 2007, at 12:33 PM, Mike Jackson wrote:</div><br><blockquote type="cite">This is because Apple now supports loading the developer tools where ever you want them instead of always in /Developer. This is going to&nbsp; play havoc with Cmake because I am assuming CMake is hard coded to look in /Developer for the dev tools. 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 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.<div><br></div><div>&nbsp; Is there anything in the release notes in Xcode 2.5 about setting environment variables for each version of Xcode?</div><div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="margin: 0px;">--&nbsp;</div><div style="margin: 0px;">Mike Jackson &nbsp; Senior Research Engineer</div><div style="margin: 0px;">Innovative Management &amp; Technology Services</div><br></span> </div><br><div><div>On Nov 10, 2007, at 4:43 PM, Chris Garrett wrote:
</div><br><blockquote type="cite">Hi,<br><br>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: <br><br>1. Make /Xcode2.5/usr/bin first on the path
<br><br>2. Edit CMakeCache.txt file and change the following: <br><br>CMAKE_C_FLAGS:STRING=-isysroot /Xcode2.5/SDKs/MacOSX10.4u.sdk<br>CMAKE_CXX_FLAGS:STRING=-isysroot /Xcode2.5/SDKs/MacOSX10.4u.sdk<br><div>CMAKE_OSX_SYSROOT:STRING=/Xcode2.5/SDKs/MacOSX10.4u.sdk 
<br><br>I also had to change any references to /System/Library/Frameworks/* to /Xcode2.5/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/*<br><br>Is this the correct way to use Xcode2.5 on Leopard with Cmake?<br><br>Thanks, 
<br><span>Chris<br></span></div><br><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;">CMake mailing list</div><div style="margin: 0px;"><a href="mailto:CMake@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
CMake@cmake.org</a></div><div style="margin: 0px;"><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cmake.org/mailman/listinfo/cmake</a>
</div> </blockquote></div><br></div></blockquote></div><br></div></blockquote></div><br></span></div></div></div><br>_______________________________________________<br>CMake mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CMake@cmake.org">
CMake@cmake.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>
<br>