Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: nova on October 23, 2006, 07:12:38 am

Title: post-build steps when using 'custom makefile'
Post by: nova on October 23, 2006, 07:12:38 am
codeblocks version: oct 21 2006

the post-build steps window is disabled for me (i assume because of the custom makefile).

I need to automatically copy some files around after building.

it'd be nice if that post-build window were enabled (unless it doesn't let you use copy, etc, if so, why?).
if it were enabled, one could have post-build steps specifically for each project version (debug, release, etc).

suggestions?

thanks.
Title: Re: post-build steps when using 'custom makefile'
Post by: Game_Ender on October 23, 2006, 07:51:37 am
You are using a makefile, put those post build steps at the end of your make targets.  The only reason I can see for this is if you had to copy around some files so that Code::Blocks itself could find them.
Title: Re: post-build steps when using 'custom makefile'
Post by: mandrav on October 23, 2006, 08:37:39 am
That's right: by using a custom makefile, you drop most of C::B's build system. Put any pre/post build steps you need in your makefile.
Title: Re: post-build steps when using 'custom makefile'
Post by: nova on October 23, 2006, 08:51:12 am
ok.

edit: n/m