I saw "Build on Save", but it is quite crude. We have pretty large C project. Building implies compiling and linking large number of binaries and tests. I would like to compile current file (assuming this is a C file) on save.
I tried something like
_command save_and_compile() name_info(','VSARG2_MACRO|VSARG2_MARK|VSARG2_REQUIRES_MDI_EDITORCTL)
{
save();
activate_build();
clear_pbuffer();
_str cmd = "make some_file.o";
concur_command(cmd, false, true, true, true);
}
It works, but it doesn't interface with Message List and I would really like it. Any ideas how to hook up Message List and point at errors in the code?