Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Quiest on May 29, 2008, 01:01:26 pm
-
Hi!
I just wanted to know if its possible to automatically run a tool
after a succesful build?
Is there a compiler setting or something for that?
Its pretty tiresome to have to run them by hand after building...
Thanks in advance!
-
You can define pre and post build steps in the projects build options.
-
Thanks,
I have seen that, but i dont know how to use it,
and havent found any info about it.
Can you point me on something that explains it?
-
http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks#Pre-build_and_post-build_steps (http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks#Pre-build_and_post-build_steps)
-
Thanks alot, again!
edit:
Okay, so, the link does not say anything about this,
can I use the same makros I can use int the user-defined tools?
i.e. ${TARGET_OUTPUT_BASENAME} or ${TARGET_OUTPUT_DIR}
-
Yes, and you can also use your global vars.