<div class="gmail_quote">On Fri, Sep 18, 2009 at 12:52 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Robert Dailey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The goal here is to try to build Xcode projects for building iPhone apps. My CMake logic for producing projects is rather complex, which is why I am hesitant to post it here. But basically I'm taking the exact path above and passing it into add_executable like so:<br>
<br>
add_executable( foobar MACOSX_BUNDLE "/Users/imac/work/redsword/projects/foobar/<a href="http://mysource.mm" target="_blank">mysource.mm</a> <br>
</blockquote>
<br></div>
Where is the CMakeLists.txt file containing this line?<br>
Perhaps "/Users/imac/work/redsword/CMakeLists.txt"?</blockquote><div><br></div><div>That's where the root one is, and this root script has all of the meat that the subdirectories call. This script is the one that has the functions that call add_executable() with the absolute paths. However, the script *calling* that function is in:</div>
<div><br></div><div>/Users/imac/work/redsword/projects/foobar/CMakeLists.txt</div><div><br></div><div>The version of xcode I'm using is the one that comes with the iPhone 3.1 SDK installer. I don't know how to find out the version number of xcode on the mac. I think it is xcode 3.1 though.</div>
</div>