User forums > Using Code::Blocks

post-build steps when using 'custom makefile'

(1/1)

nova:
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.

Game_Ender:
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.

mandrav:
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.

nova:
ok.

edit: n/m

Navigation

[0] Message Index

Go to full version