Author Topic: post-build steps when using 'custom makefile'  (Read 4885 times)

Offline nova

  • Single posting newcomer
  • *
  • Posts: 5
post-build steps when using 'custom makefile'
« 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.
« Last Edit: October 23, 2006, 07:28:22 am by nova »

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: post-build steps when using 'custom makefile'
« Reply #1 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: post-build steps when using 'custom makefile'
« Reply #2 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.
Be patient!
This bug will be fixed soon...

Offline nova

  • Single posting newcomer
  • *
  • Posts: 5
Re: post-build steps when using 'custom makefile'
« Reply #3 on: October 23, 2006, 08:51:12 am »
ok.

edit: n/m