• 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: Conditional Build Setting issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional Build Setting issue


  • Subject: Re: Conditional Build Setting issue
  • From: Jens Miltner <email@hidden>
  • Date: Wed, 18 Nov 2009 16:19:18 +0100


Am 18.11.2009 um 02:07 schrieb Harry Plate:

I am trying to use conditional build settings to help me define my project
include path settings to address some 32/64 issues.


In my .xcconfig file I defined a var like this:

MyIncludePath[arch=x86_64]="/path64"
MyIncludePath[arch=x386]="/path32"

Then in my project settings for USER_HEADER_SEARCH_PATHS I add an entry
like:


   $(MyIncludePath)/include

It seems like this should work, altho right now it does not, and I am still
trying to figure how why.


If I simply set the var to
   MyIncludePath="/path64"

Then all is ok.


So far I am not entirely sure what is going on - only that I am using the
wrong include paths.


But I just want to verify if conditional build settings are the right way to
go here...

(1) I assume your project settings are based on the configuration file

(2) the Intel-32bit arch value should be "i386", not "x386" - check e.g. the "Valid Architectures" build setting:

VALID_ARCHS = i386 ppc ppc64 ppc7400 ppc970 x86_64


</jum>


_______________________________________________ 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
References: 
 >Conditional Build Setting issue (From: Harry Plate <email@hidden>)

  • Prev by Date: Re: How to specify that files of a particular type should be recognized as source code?
  • Next by Date: Re: Haywired Call Stack in resymbolized Crash Report
  • Previous by thread: Conditional Build Setting issue
  • Next by thread: Xcode 3.1 SCM breaks after installing Subversion 1.6
  • Index(es):
    • Date
    • Thread