User forums > Using Code::Blocks

Running a tool configured in "Tools" after building

(1/2) > >>

Quiest:
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!

Jenna:
You can define pre and post build steps in the projects build options.

Quiest:
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?

Jenna:
http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks#Pre-build_and_post-build_steps

Quiest:
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}

Navigation

[0] Message Index

[#] Next page

Go to full version