Author Topic: Improvement of custom makefiles - patch to test  (Read 24297 times)

Offline gryphon

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Improvement of custom makefiles - patch to test
« Reply #15 on: February 03, 2009, 02:09:13 am »
Hey guys,

Great to see that my patch was useful. I've been really busy the past couple of months so am only keep an eye on things here.

I've been running with a heavily improved version of my original patch here for some time and and have some other improvements. For example, on my custom build of codeblocks you can specify more than the standard make targets. One particularly nice one is depend target support. This will run a depend target and and with gcc at least will build the correct project tree for you. You can specify which folders are system folders etc so that it will ignore those. I'll try to get a new patch made against the patch you two have developed. Right now on my custom build no other IDE comes close to offering the same level of custom makefile support. One more reason for me to choose CodeBlocks ;-)

gryhon

Offline Joerg

  • Multiple posting newcomer
  • *
  • Posts: 100
Re: Improvement of custom makefiles - patch to test
« Reply #16 on: February 10, 2009, 03:48:46 pm »
Hi,

with the new version I get:

-------------- Clean: all in RC ---------------

Error cleaning "RC - all"
Done.

I enabled full command line.
With the prior version I could see whats going on.
Now I can only guess :-(
Surely I forgot something but as long as I can
not see what Codeblocks is doing its difficult.
There should be an option to see everything that goes on
on command line when setting up a system.
When its running you maybe prefer a more silent way.
Though I don't see the problem of writing everything in the
log and only see warnings and errors in the messages tab.
As it used to switch to the messages tab after building you
didn't see all the output anyway, expect you wanted it.

EDIT:

I found the problem anyway:
my make.exe didn't get found (is this english? :-)

There must be a problem with the environment variable?



« Last Edit: February 10, 2009, 03:56:17 pm by Joerg »
It's never too late to fail!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Improvement of custom makefiles - patch to test
« Reply #17 on: February 11, 2009, 05:10:59 pm »
The cause, why the output of "make clean" is not shown, was to make custm makefiles build more like standard build.

I think when running the clean command the output can be shown for cbp projects and for custom makefile projects.
It might be of interest which files are really deleted while cleaning a project.