[CMake] Binary not in project navigator of Xcode 5 project built with Cmake 2.8
Davis Vigneault
davis.vigneault at gmail.com
Tue Oct 15 10:50:26 EDT 2013
All--
I'm using CMake 2.8 to create an Xcode project with ITK, for use with Xcode 5. I've followed this post:
http://www.itk.org/pipermail/insight-users/2009-February/028911.html
I'm using the Hello World example from the ITK 4.4.2 source, which is I think
identical or very close to the one posted here:
https://github.com/Kitware/ITK/tree/master/Examples/Installation
This successfully created an xcode project, and when I run it it creates a
binary in bin/debug/HelloWorld that runs as expected in the terminal. So
I'm 99.9% of the way there. However, in the "Products" folder of the Project Navigator, the HelloWorld binary is red, and the file inspector thinks the path is to /Users/Davis/Desktop/HelloWorld/bin/*build/*Debug/HelloWorld (in actuality, the Debug folder is directly in the bin; there is no build folder). This is particularly confusing because I can't find a reference to a HelloWorld/bin/build folder in the Build Locations section of the Build Settings, and because the Debug section of the Preconfiguration Build Products Path seems to list the path to the binary:
Build Products Path: /Path/To/HelloWorld/bin
Intermediate Build Files Path: /Path/To/HelloWorld/bin
Preconfiguration Build Products Path:
Debug: /Path/To/HelloWorld/bin/Debug
etc.
Any ideas?
--d
P.S. I recently posted a similar question on the ITK users group, but Mr. McCormick suggested that it might have a better chance of being answered here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131015/8403e8a9/attachment.htm>
More information about the CMake
mailing list