×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    May 2005
    Posts
    75

    MACRO keyword in .mmp, Carbide

    I don't know if this is a known problem, but the .mmp importer in Carbide didn't seem to parse the MACRO keyword, I had to manually add the relevant defines in the project settings later.

    // Martin

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: MACRO keyword in .mmp, Carbide

    Hi,

    It is not a problem, it is a "feature". Sorry, but you need to add the MACROs manually.

  3. #3
    Regular Contributor
    Join Date
    Aug 2004
    Location
    East Coast, USA
    Posts
    192

    Re: MACRO keyword in .mmp, Carbide

    > It is not a problem, it is a "feature"

    will that "feature" be added in the next carbide release?

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    18

    Re: MACRO keyword in .mmp, Carbide

    I also strongly encourage you to support the MACRO keyword. Not having support for it makes using Carbide difficult for projects that support multiple Symbian OS and S60/S80/S90 versions.

    It also appears that Carbide doesn't define EKA2 when preprocessing MMP files for importing on EKA2-based SDKs (i.e. S60 3rd edition). This makes it hard to share parts of MMP files between platforms, something that turns out to be quite useful with multiplatform projects.

    Remember that MMP file import isn't something that has to be done once, but at least in the current setup people store and release MMP files, not Carbide workspaces. Thus every developer needs to manually add macros to project settings, which makes the process error-prone.

  5. #5
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: MACRO keyword in .mmp, Carbide

    Hi,

    Yes, we do acknowledge the need for supporting MACROs during import, but you should also note that with the introduction of the Carbide family, the build process is no longer dependent on the .MMP file and we hope that people will adopt the new way as this is compatible with how IDEs have been designed to work. Also assigning MACROs correctly from withit very complex IFDEFs will never be very easy during Import, so I am not sure if you will be able to do that in all cases.

    And let's be very clear about it, you can already fully use MACROs to control the builds in Express - in the way that Eclipse/CDT have intended MACROs to be used, ie via settings in the build configs. Once you have imported your project, you can assign whatever macros you want to each build config giving you very fine-grained control over the building, in a clearner way - I would argue - than with the .MMP file.

    Also when working with an IDE (even though this is not in the scope of Express yet) the recommended way to share projects between Carbide users will be via some form of source code repository, not via .mmp files.

    Express is not targeting team use, but with Developer this will be better supported.

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    7

    Re: MACRO keyword in .mmp, Carbide

    Hello

    I am quite happy dumping .MMP files in favour of express. I am actually looking forward to it.

    However, somebody needs to tell me how to achieve the following:-

    1. Overnight builds from the command line

    2. Dynamic configuration via build flags (MACROS).

    To explain a bit better: I am porting a OS indep. framework, which is highly configurable and depends on hundreds of build flags. The OS independent part of the framework is built via a set of makefiles dynamically generated and controlled by build flags. We have a file defining build flags for every build type of the framework. We type something like "build my_file" and off it goes.

    I am in charge of the symbian port of such framework.

    Up until now I injected the macros on the fly into MMP files. What is the equivalent way of doing this without MMP files?

Similar Threads

  1. Platform macro
    By stenlik in forum Symbian
    Replies: 2
    Last Post: 2006-08-22, 11:28
  2. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  3. Issues with Carbide vs 2.0 installer!
    By kt10208 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-01-16, 09:27
  4. Problem in .MMP file
    By yogesh14 in forum Symbian
    Replies: 2
    Last Post: 2005-08-26, 07:46
  5. Problem updating .mmp using .Net IDE
    By rushj in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-08-18, 11:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×