×

Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Question using preprocessor directives

    Is it possible to use #define like preprocessor directives fora project ? like in symbian mmp u can mention # define ABc for conditional compilation .. how can i do it for windows run-time for phone ?
    -J

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,078

    Re: using preprocessor directives


  3. #3
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: using preprocessor directives

    I have seen that but its just for windows desktop and windows phone -- here we are thinking of a broader rang .. and i cannot finad any way to add a new custom preprocesser directive

  4. #4
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: using preprocessor directives

    runtime is used with c++ code -- im not asking about c#

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: using preprocessor directives

    The preprocessor is a C/C++ feature. What kind of "broader range" you need, than a feature which is present in every single C/C++ toolchain?
    Check documentation of Visual Studio, http://msdn.microsoft.com/en-us/library/hhzbb5c8.aspx, it is probably the same setting from the very beginning, but at least from Visual Studio 6 (the first one which I actually used, so I do not know about the previous versions).

  6. #6
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: using preprocessor directives

    cIcompile tag in project file helped !

Similar Threads

  1. Preprocessor directives in Open c++
    By mrchethan in forum Open C/C++
    Replies: 7
    Last Post: 2008-09-09, 23:17
  2. Are there any useful preprocessor directives in Symbian?
    By MKechlibar in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-06-16, 11:24
  3. compile directives for multiple files
    By fredrischter in forum Mobile Java General
    Replies: 0
    Last Post: 2006-06-04, 15:56
  4. multiple target directives
    By barney.parker in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2003-09-01, 11:25

Posting Permissions

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