Re: environment variables during compile time
Re: environment variables during compile time
- Subject: Re: environment variables during compile time
- From: Vyacheslav Karamov <email@hidden>
- Date: Wed, 13 Jul 2011 15:38:58 +0300
man getenv
13-Jul-11 15:11, Jankoen de Haan пишет:
Hi All
What would be the way to use environment variable during
compile time in source code. I explicitly dont want to get the
content of the vars during runtime but during compile time as if
the vars are preprocessor constants.
For example:
int main(int argc, char *argv[])
{
NSLog( @"testcase
%s", $PRODUCT_NAME );
}
Is something like this possible ?
Thanks,
Jankoen de Haan
Utrecht
_______________________________________________
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