Book a Demo

Author Topic: About code generation for C  (Read 2128 times)

NaclChan

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
About code generation for C
« on: June 26, 2014, 12:37:13 pm »
When I generate codes from my UML model, I notice that the EA ALWAYS generates 2 files for 1 class.

For example, I have a class named Nacl, when I generate codes for Nacl, I get Nacl.c and Nacl.h.  
But I do not need the Nacl.h, so I tried to modify the C code template. There is nothing left in basic code template 'file', so I thought that the Nacl.h will not appears agian. But unlucky, the Nacl.h still can be generated without anything in it.

Sometimes I just only need the .h file.
So what can I do if I want EA to generate ONLY 1 file for 1 class?