Re: How to set executable/product name by compiler switch?
Re: How to set executable/product name by compiler switch?
- Subject: Re: How to set executable/product name by compiler switch?
- From: Jeremy Pereira <email@hidden>
- Date: Fri, 8 Jan 2010 17:10:56 +0000
On 8 Jan 2010, at 16:00, Alexander Bokovikov wrote:
>
> On 08.01.2010, at 19:01, Roland King wrote:
>
>
> Multi-target approach is less suitable in this case, as it requires to switch target manually. I can agree that it's yet useful for Debug, but as for Release, I'd prefer to get both applications at once, because there is nothing to change manually to produce one or another version. All differences are already defined in the code by #ifdef clauses, and it's supposed that all bugs are fixed at the Debug stage.
Create an aggregate target that depends on both of your targets and build that. Both targets will build automatically.
>
>>
>
> On 08.01.2010, at 19:43, Jeremy Pereira wrote:
>
>> -D
>>
>> To define _CUSTOM_VER
>
> Thanks for this particular info, but I'm still in a misunderstanding about what does it mean "create two configurations",
> as it was suggested. This is the main unclear aspect for me now.
Create two targets called myapp1 and myapp2 that are identical other than the product name.
Modify the preprocessor macros build setting of ONE of the targets. This will achieve what you want (I think).
>
> Thank you for your help!
>
> Best regards,
> Alex
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
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