Compile > Compile a Project > Post Compile Commands

Post Compile Commands

After a project has compiled successfully you can execute an optional command, script or batch file. This offers useful functionality if you have tasks that could be automated after a successful compile. This provides an expansion point for you to add your own script or command to perform additional tasks. An example of this could be an application or script to merge the language files that your project is using into a single file in the root project to aid in localization.

You can also launch an optional command, script or batch file to execute after an unsuccessful compile. Generally this would be used to create a log file to show warnings or errors generated during a compile.

To use either of these functions, add the command line containing the command or script to either the [CtEdit]CompileSuccessfulCommand or [CtEdit]CompileUnsuccessfulCommand parameter in the Citect.ini file.

See Also

Published June 2018