Re: Get acces to project settings in source code
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