Configuring the C or C++ Code Deployment

You can configure how the generated C or C++ code is organized by configuring the existing generation configuration with new parameters.


Before you begin:
  1. To define the structure of the generated code, expand the Code Deployment section, and then drop the C and C++ Code Deployment configuration to the diagram viewer.
  2. To define the content of the generated files, drop the Text Template configuration to the diagram viewer.

  3. Double-click the C and C++ Code Deployment configuration to modify its specifications.

    Note: For more information about these parameters, see Code Deployment: C and C++.

  4. Double-click the Text Template configuration to add text to the Body.

    Note: The templates support variable substitution and file iteration macros. see Code Deployment: C and C++.

  5. From the diagram viewer, drop the code deployment configuration to the C or C++ code configuration.
  6. Run the operations. See Running the Operation.

    The Files tab displays the generated files with the configured structure.