User forums > Using Code::Blocks
Problem using Project Dependencies, do they work in Code::Blocks?
cacb:
--- Quote from: oBFusCATed on June 20, 2011, 12:30:20 am ---cacb:
If the times are OK, it will be best if you can provide a simple test workspace, so the bug could be found and fixed.
Else you'll have to debug C::B yourself to see what is happening.
I'm using external deps and I see no problems (except the tough setup).
p.s. you don't have to be a dev in order to provide good patches, in fact it is the other way round, you provide good patches and after a time you become a dev 8)
--- End quote ---
Ok, that sounds good. I shall prepare such a test workspace, showing the same behaviour. It should be relevant for both Problem1 and Problem2. It will probably take a couple of days as I am very busy with my project now. The info from this thread has helped, though.
About being a dev: Yes, I know. I wasn't too worried about the formalities, but more the effort of figuring out how C::B works internally.
cacb:
Just a quick post on this issue to say 2 things.
1. I did not follow up on this issue in June, due to sudden illness in the family.
2. Recently, I discovered the cause of the problem and found the solution, described below.
The thing is that I had written a small utility that is executed as a post build step for every project. This utility copies header files, lib files and executables to a central area. When a project A depends on another project B, the A project is compiled against the B header files in the central area. The symptom I was seeing was that, on Linux, all C++ files were recompiled always, and the cause was that copying of header files to the central area gave them new date & times (the time of copying).
After modifying the copy utility, the copied files now always gets the exact same date & time as the originals. This solves the Linux massive recompilation problem completely as far as I can tell. The dependencies now seem to work as expected.
Si we can conclude there is no Code::Blocks problem
Navigation
[0] Message Index
[*] Previous page
Go to full version