• 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: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 12 Jan 2009 11:55:37 +0100

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


_______________________________________________ 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
  • Follow-Ups:
    • Re: Get acces to project settings in source code
      • From: Kevin Molcard <email@hidden>
References: 
 >Get acces to project settings in source code (From: Kevin Molcard <email@hidden>)

  • Prev by Date: Get acces to project settings in source code
  • Next by Date: Re: Get acces to project settings in source code
  • Previous by thread: Get acces to project settings in source code
  • Next by thread: Re: Get acces to project settings in source code
  • Index(es):
    • Date
    • Thread