Different SIS filename based on Build Configuration?

Login to reply to this topic.
Tue, 2008-01-15 17:16
Joined: 2008-01-15
Forum posts: 2

In my current Carbide.c++ project I have multiple build configurations.

In the Project Properties (dialog box) > Carbide Build Configurations (page) it is possible to set "SIS File Creation Options" (in the Output File Name editbox).

It is pretty straightforward to enter there any hardcoded filename, but... I would like to be able to automatically generate a filename that is different for each build configuration.

That is:
For a S60_2nd_FP3 build - generate a myproj_s60_2nd_fp3.SIS
For a S60_3rd_FP1 build - generate a myproj_s60_3rd_fp1.SIS

Is this possible at all, using Carbide.c++ ?

If so, how do I accomplish that?

Thanks!


Wed, 2008-01-16 10:05
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Different SIS filename based on Build Configuration?

Havent known it to be possible for now atleast. I may stand corrected if somebody suggests the same Puzzled

Wed, 2008-01-16 16:06
Joined: 2008-01-15
Forum posts: 2
Re: Different SIS filename based on Build Configuration?

Well, it is quite possible that the MMP/PKG system is not smart enough to parse a MACRO that defines the output SIS filename.

If this indeed is the case, then perhaps my next bet would be to use a multiple MMP/PKG approach. I tried to follow the known BEMUSED example, which has a subdirectory under the 'group' directory. It works for building the application, but it breaks the integrated CVS functionality in Carbide.c++. Thus, I cannot use it for my project because I really need smooth access to CVS via Carbide.c++.

Perhaps my best next bet is to try another multi MMP approach - this time in the same 'group' directory (i.e. no subdirectories) - as described in the following thread:

Are there any useful preprocessor directives in Symbian?

Any other ideas?

  • Login to reply to this topic.