• 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
Unified debug/release xcconfig file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unified debug/release xcconfig file


  • Subject: Unified debug/release xcconfig file
  • From: John Gee <email@hidden>
  • Date: Mon, 29 Sep 2008 11:15:16 +1300

I just discovered the Conditional Build Settings, and thought they offered a way to collapse my xcconfig files from debug/release/common triplets at each level requiring customization, down to a single configuration file at each level. I have many more settings in the common files than in the debug/release.

However, when I do a "debug" build I get both x86 and ppc compiles.

In the project settings in Xcode:
	BUILD_VARIANTS = debug

In the xcconfig file:
	// This seems to be ignored
	ONLY_ACTIVE_ARCH[variant=debug] = YES
	// This does works
	GCC_PREPROCESSOR_DEFINITIONS[variant=debug] = "MyDef"

With Xcode 3.1.1, is it possible to use a unified xcconfig file for separate debug and release build configurations? (Am I doing something wrong, or are there limitations in the conditional support?)

(I have consulted the Conditional Build Settings section of the Xcode Build System Guide, and have not found other sources of information.)

--
John Gee, ADInstruments
Programmers live in interesting times...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: error running unit test in xcode 3.1.1
  • Next by Date: Re: Interface Builder problem
  • Previous by thread: error running unit test in xcode 3.1.1
  • Next by thread: Hiding Doc Sets in Documentation window
  • Index(es):
    • Date
    • Thread