Generating Code

  1. In the project editor, perform one of the following actions.

    • Open the Build menu and select Generate Code.
    • Click Generate Code.
    • Press <Ctrl> + <F7>.

    The code for the project is generated and stored in the database. Any error messages are displayed in the ASCET monitor window.

    Note

    The temporary code in the working directory (%ASCET%\cgen) is not affected by the Header/C Code Structure option in the project properties, Build node. To get the desired partitioning into files, you have to export the code.

    Or

  2. In the Build menu, select View Generated Code.

    C code is generated and displayed automatically in a text editor. The editor can be selected in the ASCET Options window, ASCII Editor node.

See also

ASCET Monitor Window

Project Properties – Build Node

Exporting Generated Code

ASCET Options Window