User forums > Using Code::Blocks

What's up with .depend files?

<< < (2/3) > >>

oBFusCATed:
tankist02: can you try with the normal g++, without ccache?

tankist02:
Did that. Rebuilt a few times, closed and opened CB, even opened External dependencies dialog - didn't help. BTW rebuild time went from 1 min (with ccache) to 7 mins (without ccache). I'd rather keep using ccache. :)

stahta01:
A shoot in the dark; are the includes

--- Code: ---#include "header.h"
--- End code ---

or

--- Code: ---#include <header.h>
--- End code ---

Tim S.

tankist02:
I have both: <> for system files and "" for my own code. I am interested in dependencies of .cpp on my headers.

What's interesting: I manually adjusted one of .cbp files (corrected the output path). After CB reloaded the project file the corresponding .depend file was correctly generated.

On the other hand, at one point I removed all .depend files, reloaded and rebuilt the main workspace, but generated .depend were all empty (except the line: # depslib dependency file v1.0)

tankist02:
It looks I found how to trigger correct generation of .depend files: after I edited a .cpp file, saved it and built the corresponding project the related .depend file was correctly re-generated.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version