Re: .d directory is created after compiling
Posted: Sun Sep 25, 2011 8:41 am
One of the changes in codelite 3 was the ability to reduce un-needed links.piebru wrote:Is this intentional?
Prior to codelite 3, if you had a project of type 'exe' or 'dll' and you hit the build command, codelite would have perform link even if nothing was changed.
This is not the case now, the ".d" file is a marker for the makefile that tells it whether the $(IntermediateDirectory) should be re-created. The .d file will always be placed under $(IntermediateDirectory)/.d
Where the "$(IntermediateDirectory)" is usually "Debug" or "Release"
There are other markers for this purpose:
When a project is built, it will place a marker under : <workspace path>/.<configuration-name>/<project name>
Using the timestamp of the marker file, the makefile is able to determine whether a dependency project was modified and whether a re-link is required
Eran