Getting build flag setting in code
Getting build flag setting in code
- Subject: Getting build flag setting in code
- From: "parag vibhute" <email@hidden>
- Date: Mon, 6 Aug 2007 14:43:15 +0530
Hi,
I have developed a Cocoa application.
My requirement is to pass an argument while
building an application. Based on that argument's value, certain part of my code will be compiled otherwise it will be ignored (like #defined).
I thought one of way is to add a new build setting ( u can say its like variable) in build pane of xcode & to get that setting's value in code so that based on that value, certain part of my code will be compiled otherwise ignored. Am I in right direction? If yes, how to retrieve that variable's value in code?
Is there any any other way to accomplish this task?
Thanks,
Palav
--
There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'
_______________________________________________
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