• 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: Get acces to project settings in source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get acces to project settings in source code


  • Subject: Re: Get acces to project settings in source code
  • From: Kevin Molcard <email@hidden>
  • Date: Mon, 12 Jan 2009 12:09:09 +0100

I tried this but without the single quotes and it gave me error because my product name contains spaces.

Now it works. Thanks for the tip.

Kevin

Jean-Daniel Dupas a écrit :
Add a "Preprocessor Macros" in the build settings (be careful to the quoting) :

Adding this

'PRODUCT_NAME ="$(PRODUCT_NAME)"'

 to GCC_PREPROCESSOR_DEFINITIONS it is equivalent to:

#define PRODUCT_NAME "$(PRODUCT_NAME)"



Le 12 janv. 09 à 11:42, Kevin Molcard a écrit :

Hi all,
I need to get the name of my product and to not have redundancy, I want to use $PRODUCT_NAME in my source code.
Does anyone know if it is possible and if yes how to do that.


Thanks,
Kevin

--
Kevin Molcard
Sofware Engineer

ARTURIA
4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

http://www.arturia.com

_______________________________________________
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




-- Kevin Molcard Sofware Engineer

ARTURIA
4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

http://www.arturia.com

_______________________________________________
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: 
 >Get acces to project settings in source code (From: Kevin Molcard <email@hidden>)
 >Re: Get acces to project settings in source code (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Get acces to project settings in source code
  • Next by Date: didReceiveMemoryWarning doesn't release view...
  • Previous by thread: Re: Get acces to project settings in source code
  • Next by thread: didReceiveMemoryWarning doesn't release view...
  • Index(es):
    • Date
    • Thread