Book a Demo

Author Topic: Code Generation C++ includes  (Read 5727 times)

Hirsel

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Code Generation C++ includes
« on: April 07, 2006, 02:12:55 am »
Hi there,

i guess I have another newbie problem :P

In the process of Code Generation there is an option in the Code Genereation Dialog in which you can insert your own lines of includes and imports... So far so good but actually it doesn't work for me. If tried to write various includes, such as #include <string> or #include <sstream> but EA is just ignoring these inputs and genereate the files without them.

I looked at the Code Genereation Options twice but I can't find any Option to swich it on!

Can somebody please give me a hand??

thx

bye

Hirsel
« Last Edit: April 07, 2006, 02:13:57 am by Hirsel »

thomaskilian

  • Guest
Re: Code Generation C++ includes
« Reply #1 on: April 07, 2006, 02:48:39 pm »
Unfortunately I'm without EA at the moment, but there's a macro which takes the input and expands it. You need to consult the help file - and find out where it's used in the code templates :P

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code Generation C++ includes
« Reply #2 on: April 09, 2006, 02:56:43 pm »
Hi Hirsel,

EA only generates the includes during an initial generation, never when synhcronising.  I am guessing that you'll find you are synchronising and that's why the added includes are not being generated.

Hirsel

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Code Generation C++ includes
« Reply #3 on: April 09, 2006, 11:51:55 pm »
Hi thx for your help!

acutally i tried to generate the Source via "Generate Package Source " and it doesn't work. But when i generate only one file via Generte File after i hit the right mouse button the class, it works...

thx!!

bye

hirsel

SF_lt

  • EA User
  • **
  • Posts: 216
  • Karma: +1/-0
  • The Truth Is Out There
    • View Profile
Re: Code Generation C++ includes
« Reply #4 on: April 24, 2006, 12:34:38 am »
this topic should be moved to general board - work for moderators
registertm everything to SparX