Function: The command generates a C stub file and an M4 interface file from the current library project. These files are used as the basis for creating an external library file.
Call: Menu bar: “Build”
Requirement: A library project is open.
The command opens the “Generate Files for Runtime System” dialog.
|
“Output directory” |
Directory where CODESYS creates the runtime system files. Click the |
|
“Component names” |
Name of the library project |
|
“Which files do you want to create?” |
|
|
“M4 interface file” |
![]() |
|
“C stub file” |
![]() |
|
“Options” |
|
|
“Export referenced types included in libraries” |
|
|
“Use original type names ” |
|
button to open the default dialog for browsing the file system.
: Interface file <project name>Itf.m4 with definitions. Example of m4 file:
