Hi Everyone,
I am using CodeBlocks 20.03 on Debian 10 and FreeBSD 12.
When I use the Squirrel command in the post-build step, no change is made to the name of the build log file.
[[IO.CopyFile(_("$(PROJECTNAME)_build_log.html"), _("$(PROJECTNAME)_build_log_") + GetProjectManager().GetActiveProject().GetCurrentlyCompilingTarget().GetTitle() + _("_$(TDAY)_") + GetProjectManager().GetActiveProject().GetCurrentlyCompilingTarget().GetCompilerID() + _(".html"), true );]]
CMD /C
I believe it is because my $(PROJECT_NAME) is "LPO LogIt" and the name of the build log is lpo_log_it_build_log.html.
I am guessing that
CopyFile(_("$(PROJECTNAME)_build_log.html")
results in
CopyFile(_("LPO LogIt_build_log.html")
Is this correct?
Also, I am guessing that the log file creation functionality uses the Code::Blocks project file name as a fallback.
How can I access the actual name of the generated log file so that I can rename it to include the date and perhaps process it with html2text?FYI, No log file is created without the trailing "CMD /C" which generates an error on both systems.
=thoth=