Hello,<div><br></div><div>I'm using the latest (as of now) CMake build from CVS head. I noticed that when I specify a source file like so:</div><div><br></div><div>/Users/imac/work/redsword/projects/foobar/<a href="http://mysource.mm">mysource.mm</a></div>
<div><br></div><div>XCode actually thinks it is here:</div><div><br></div><div>/Users/imac/work/redsword/projects/foobar/projects/foobar/<a href="http://mysource.mm">mysource.mm</a></div><div><br></div><div>And when I right click on that file in Xcode and go to "Get Info", the file says it is "projects/foobar/<a href="http://mysource.mm">mysource.mm</a>" and the path says "/Users/imac/work/redsword/projects/foobar". So more than likely it is concatenating these two to form a supposedly absolute path, but it is doing it wrong. I tested the very same CMake script with Visual Studio 9 output, and it works just fine.</div>
<div><br></div><div>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:</div>
<div><br></div><div>add_executable( foobar MACOSX_BUNDLE "/Users/imac/work/redsword/projects/foobar/<a href="http://mysource.mm">mysource.mm</a>" )</div><div><br></div><div><br>---------<br>Robert Dailey<br>
</div>