Setting up packages for generating C code (C code)
In addition to the standard Package properties in Modeler, you can apply the «C Package» stereotype to a Package, and then use its Tag Definitions to define C specific information.
1. If you have not done so already, add the C Profile package to your Model.
How?
3. Apply the
«C Package» stereotype to the Package. For information about applying Stereotypes to an item, see
![](../../Integrity_Modeler/images/btn_mini_294.gif)
4. Open the Package's Property Pages, and then click the
C Package tab. For information about setting the tagged value of a Tag Definition, see
![](../../Integrity_Modeler/images/btn_mini_294.gif)
5. If you want to add #include statements and forward declarations to the generated header file, type the text as the tagged value of the C Header Include tag definition.
6. If you want to add #include statements and forward declarations to the generated implementation file, type the text as the tagged value of the C Implementation Include tag definition.