×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    23

    Question Is there any macro #defined when you're building project from Carbide C++ IDE?

    Main idea is to check are we building project within the IDE or from the command line. Does anybody know, is it possible?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    You can check symbols affecting your builds in Project/Properties, Carbide.c++/Build Configurations, Paths and Symbols. I can not relly identify anything that would help differentiating between Carbide/non-Carbide builds.
    What do you want to achieve?

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    23

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    I need to #ifdef when build is made locally by developer within Carbide C++ or by autobuild machine within command line. I already checked these macroses in Build Configurations settings, but it's not clear, which one is defined only within Carbide.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    There is no such symbol. Let us extend the question: what do you want to achieve via differentiating between Carbide.c++ and command-line builds?

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    23

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    Make local non-device locked build for developers to test. This is done with another #defines.

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    Quote Originally Posted by DeathBaba View Post
    Make local non-device locked build for developers to test. This is done with another #defines.
    Did you mean that you want to develop/test build for emulator only? if yes then check macro #ifdef __WINS__ .

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    Quote Originally Posted by savaj View Post
    Did you mean that you want to develop/test build for emulator only? if yes then check macro #ifdef __WINS__ .
    DeathBaba wants to distinguish from comandline build to Carbide.c++ build

  8. #8
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Is there any macro #defined when you're building project from Carbide C++ IDE?

    Quote Originally Posted by skumar_rao View Post
    DeathBaba wants to distinguish from comandline build to Carbide.c++ build
    Yes, but in his last post DeathBaba said:

    Make local non-device locked build for developers to test.
    I really dont know what does he mean by "non-device", So i asked him if he is looking for emulator build.

Similar Threads

  1. Carbide C++ IDE problem
    By saha_forumnokia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-11-13, 16:12
  2. new carbide project
    By hm36 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-05-28, 05:37
  3. e32def.h in C library project and carbide express vs sdk command line tools
    By baumannpan in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-04-03, 10:33
  4. [newbie here] Link error
    By xitpu in forum Symbian
    Replies: 3
    Last Post: 2007-01-24, 16:53
  5. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07

Posting Permissions

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