Setting up libraries that are represented in the model for generating C code (C code)
If you have libraries represented in the model, for each library class you can specify the #include statement to be generated for any structs that use that library class. You can specify the #include statement for a Package and then propagate that #include statement to all its sub-Packages and Classes.
3. Open the Package's Property Pages, and then click the C Library tab.
4. Set the tagged value of the C LIB_INCLUDE tag definition to the #include statement that you want to generate for a struct that uses the library, including the '#include' text.
5. Right-click the Package, and then click Propagate Library Properties.
The «C Library» stereotype and the tagged value of the C LIB_INCLUDE tag definition is applied to the Package's child Packages, Classes, Data Types and Interfaces.
You can use the Propagate Library Properties command to update the tagged values of C LIB_UPDATE tag definitions.