User forums > Using Code::Blocks
launch script/batch at end of process
winz:
Hi,
I want the computer 'beep' when a full compilation is done. I want that occur after linking operation in case of success but also if the compilation failed during compilation or linking operation.
For that I expected to call a batch (I am under win7) with a simple beep function.
I am using my own makefile (I am compiling Qt projects, the makefile is built by an external tool), so I cannot use the project build option > pre/post build step
Do you know if it is possible and how to do that?
Jenna:
--- Quote from: winz on February 07, 2011, 11:15:28 am ---I am using my own makefile (I am compiling Qt projects, the makefile is built by an external tool), so I cannot use the project build option > pre/post build step
--- End quote ---
Why not ?
winz:
sorry, of course I could but I already call a batch with some options when I configure my own makefile.
but in both case (if I call the batch with some makfile options or with C::B options) the batch is only called in case of successful compilation & linkage.
My compilation takes about 5mn and I would like to do some secondary job during this time and to be warn as soon current process is done... even in case of error
winz:
If it's not possible with C::B options, do you know if it's possible with some makefile or gcc options that I missed ?
stahta01:
--- Quote from: winz on February 07, 2011, 03:03:05 pm ---If it's not possible with C::B options, do you know if it's possible with some makefile or gcc options that I missed ?
--- End quote ---
State your Code::Blocks version; because it is possible to use post/pre steps with a makefile the last time I checked.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version