Architecture of Generated C Code : Structure Of The Generated Code

Structure Of The Generated Code

The Code Generator writes the generated source code into a designated directory in the workarea. The organization of the code directories in the workarea is as follows:

For every code generation, the code is placed in a subdirectory of the “prt” directory based on the compilation profile name (unless you specify another Output Directory.

In the figure above, <WORKAREA> stands for the root of the workarea directory, and <Compilation Profile 1>, <Compilation Profile 2>, and <Compilation Profile 3> represent directories corresponding to different profile names.