Post-Build

Top  Previous  Next

The Post-Build event is the build event that is called after the building of the project completes.

 

When the Post-Build event is triggered, the RTCU IDE will run the "PostBuild.bat" batch file if present.

The RTCU IDE will look for the batch file - first in the project folder and then in the RTCU IDE install folder.

The "PostBuild.bat" file has 3 parameters: <path to project>, <path to build file>, and <error code>

 

<path to project> is the absolute path to the folder where the project is located.

<path to build file> is the absolute path to the build file - including the file name (see Build file format for more info).

<error code> specifies whether the build was a success or not:

0

The build is successfully completed.

1

The build failed.

 

Note: any changes made to files in the project will not propagate to files opened in the RTCU IDE.