Some examples
From Code::Blocks
Revision as of 22:33, 18 October 2019 by Bluehazzard (talk | contribs) (Create this page as collection of useful scripts)
After build
Copy the build log after compilation to a new location and rename it with target name and compiler id.
IO.CopyFile(_("$(PROJECTNAME)_build_log.html"), _("$(PROJECTNAME)_build_log_") + GetProjectManager().GetActiveProject().GetCurrentlyCompilingTarget().GetTitle() + _("_") + GetProjectManager().GetActiveProject().GetCurrentlyCompilingTarget().GetCompilerID() + _(".html"), true );
This is in one line, so you can copy and paste it in the post build step (but don't forget to add the [[ ]]
)