Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Running a tool configured in "Tools" after building
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Running a tool configured in "Tools" after building (Read 4917 times)
Quiest
Single posting newcomer
Posts: 5
Running a tool configured in "Tools" after building
«
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!
Logged
Jenna
Administrator
Lives here!
Posts: 7252
Re: Running a tool configured in "Tools" after building
«
Reply #1 on:
May 29, 2008, 01:21:33 pm »
You can define pre and post build steps in the projects build options.
Logged
Quiest
Single posting newcomer
Posts: 5
Re: Running a tool configured in "Tools" after building
«
Reply #2 on:
May 29, 2008, 06:02:19 pm »
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?
Logged
Jenna
Administrator
Lives here!
Posts: 7252
Re: Running a tool configured in "Tools" after building
«
Reply #3 on:
May 29, 2008, 06:21:22 pm »
http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks#Pre-build_and_post-build_steps
Logged
Quiest
Single posting newcomer
Posts: 5
Re: Running a tool configured in "Tools" after building
«
Reply #4 on:
May 29, 2008, 08:33:28 pm »
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}
«
Last Edit: May 29, 2008, 08:36:56 pm by Quiest
»
Logged
Jenna
Administrator
Lives here!
Posts: 7252
Re: Running a tool configured in "Tools" after building
«
Reply #5 on:
May 29, 2008, 08:57:42 pm »
Yes, and you can also use your global vars.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Running a tool configured in "Tools" after building