• 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
Re: Xcode directory symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode directory symbols


  • Subject: Re: Xcode directory symbols
  • From: Rob Barris <email@hidden>
  • Date: Mon, 27 Oct 2003 18:41:08 -0800

On Oct 27, 2003, at 5:22 PM, email@hidden wrote:
But the list shown does not show any symbol that would correspond to

/Developer/SDKs/MacOSX10.2.7.sdk/

which would be the prefix I would like to use.  If there was a
"SYSTEM_SDK_DIR" that pointed there, in alignment with the
cross-development popup setting, it would then be easy to change later
as needed in one place.

Is there a way to ask Xcode to tell me all of the environment variables
it defines during a build, so I could discover ones that were not yet
in documentation ?


To answer my own post:

a) "SDKROOT" is the symbol I needed.

b) I found it by putting this line into a .pl custom build step script:

system("set >> baz")

and then examining 'baz' after the build attempt to see what env variables are set during a build.

I'm inferring but have not yet proven that changing the SDK selection popup will change the value of SDKROOT.

Rob
_______________________________________________
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: bug with indexing settings for java projects
  • Next by Date: still having problems with cross development
  • Previous by thread: bug with indexing settings for java projects
  • Next by thread: Re: Xcode directory symbols
  • Index(es):
    • Date
    • Thread