Have been using xcode 1.5 for some time to build "Command Line Utility:Standard Tool" projects (i.e. legacy unix CLI programs). Now have a new machine with xcode 2.2.
When I do "build and debug", xcode places the executable in the directory ./debug. How can I change this to just place it in . ? That is, the executable needs to end up in the same folder as the project.
The reason I need to do this is that the test files that my program operates on contain paths, and those paths are relative to the location of that file. For that and other reasons, it's impractical for me to move my test files into the debug folder.
I've searched emails on this mailing list and found a relevant thread:
http://lists.apple.com/archives/xcode-users/2005/Sep/msg00581.html
But it's not clear to me if this applies in my case. I have already managed to move the build path to where I want it, using "Place Build Products In:" on the projects info panel. I have that pointing at the same folder the project is in. This was enough to meet my need in xcode 1.5. This thread does not specifically mention debug. Another thread does, but the conclusion seemed to be that the user should move his files into the debug directory.