• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Specifying a relative path for executable runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Specifying a relative path for executable runtime


  • Subject: Specifying a relative path for executable runtime
  • From: Philip Lamb <email@hidden>
  • Date: Fri, 07 May 2004 16:25:21 +1200

Hi all,

I'm currently moving a cross-platform open-source project over to Xcode and am running into a small problem. When built via a makefile, the project builds executables as command-line tools in a ./bin directory off the project root. Building works fine, but the difficulty comes when the tools are then run _from within Xcode_.

What I need to do is for the runtime working directory to be set to $(SRCROOT)/bin, but the only options offered via XCode are either: project directory (i.e. $(SRCROOT)), build directory, or an absolute path. A relative path works OK, except I want to be able to hand the XCode file to other developers and have them drop it into their existing source code tree wherever they have it on their drive and let them run the executables from within XCode without having to go through each executable and respecify a correct working directory for their machine.

So my question, is there any way to specify a relative path for the working directory of an executable to be run by XCode? If not I'll file a bug.
--
Philip Lamb
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



  • Prev by Date: Re: can't locate file for: -lSystem error
  • Next by Date: Re: Updating within a prebuilt Bundle app?
  • Previous by thread: Re: Missing file or directory problem
  • Next by thread: Weird dual precompiled header compile
  • Index(es):
    • Date
    • Thread