Author Topic: Are .depend files still used or correctly created ?  (Read 4743 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 519
Are .depend files still used or correctly created ?
« on: June 30, 2010, 12:10:13 pm »
.depend files contains dependencies if I understand well.
There is effectively something in them when I create a single project : lines with a time stamp (I think), the name of each file followed by some lines with the included header files.
But, when I have a workspace, so many projects included, for example C::B itself, only the last explored .depend file has these informations. All others contains only one line with a title : #desplib dependency file v1.0 , but nothing else. Is it normal ?

If in the workspace I build only one of the projects, the .depend file has informations lines.

I work mainly on Windows XP (SP3), last nightly (SVN 6378), but I think this is not new.
This problem does not happen on Linux I think, all .depend files have many lines.

gd_on
« Last Edit: June 30, 2010, 02:14:20 pm by gd_on »
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 519
Re: Are .depend files still used or correctly created ?
« Reply #1 on: July 06, 2010, 06:19:33 pm »
Oups !
Nobody knows the answer ?
Or may be, those who knows are already on holidays 8)... Happy (wo)mens... :lol:

gd_on
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12188
    • Travis build status
Re: Are .depend files still used or correctly created ?
« Reply #2 on: July 06, 2010, 11:02:10 pm »
Probably you have to debug the code yourself or at least supply a testing workspace.

Also, does this "feature" cause the build to fail or just bothers you?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 519
Re: Are .depend files still used or correctly created ?
« Reply #3 on: July 07, 2010, 10:02:54 am »
C::B itself is a good testing workspace, though probably too complicated. It shows the problem on Windows (On Linux, it seems to work as I think it should).
Re-build totally the workspace and you'll see that only the last created .depend file has something else than the title line.
If you rebuild only one of the sub-project, the corresponding .depend file seems to be correct.
On a C++ workspace, I must admit, as you said, that it's only bother me, because it seems to work without these .depend files. (if I say "seems" it's because I'm not totally sure of this in all cases: sometimes I need to build 2 or 3 consecutively times the C::B build workspace because it claims that some header files are missing though they are here. It looks this is essentially with .gch files. Is it the same problem or another, I don't know).
On a fortran project, it's not the same. As you suggested me in an other post (here), I first tried to understand how desplib works to be able to eventually modify or adapt it to fortran project. But, until now, I don't really understand how it works, and more, if it's not really used (or useful), it's not here that I have to search how to get dependencies work in fortran included files. That's the main reason of this help request.

gd_on
« Last Edit: July 07, 2010, 10:07:06 am by gd_on »
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12188
    • Travis build status
Re: Are .depend files still used or correctly created ?
« Reply #4 on: July 07, 2010, 12:39:41 pm »
C::B itself is a good testing workspace, though probably too complicated. It shows the problem on Windows (On Linux, it seems to work as I think it should).

C::B is a single project + multiple targets. What are you talking about?
The workspace for the contrib plugins or the main/core cbp file?

Hm, Is seems that my main project has the same behavior. Only .depend file for the active project is full with data.
I have no problems with the build process, but I do not use precompiled headers.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 519
Re: Are .depend files still used or correctly created ?
« Reply #5 on: July 08, 2010, 11:49:15 am »
Sorry,  :(
I forgot to mention that I made a C::B workspace by adding a line with CodeBlocks.cbp at the beginning of ContribPlugins.workspace to obtain a new CbProject.workspace (and the equivalent for unix versions). Nevertheless, standard ContribPlugins.workspace alone has this "special" behavior on Windows with these .depend files.
And as you said, the build process is correct, so ... are they really used or useful ? Strange  :o

gd_on
« Last Edit: July 08, 2010, 11:51:40 am by gd_on »
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).