Hi Stephan,

Stephan Bergmann wrote:

(1) A new file x/z is added to the SCM. A file y/z already exists. Will all C/C++ files be recompiled that #include "z" and have -Ix before -Iy on their compiler command lines?
Isn't it, that you have a difficult to maintain build approach if you supply multiple -I anyway? If we can, we should simply avoid it.


(2) A linker switch is added to a makefile variable X in some file y. Will all the linker invocations that depend on X, in all the makefiles that (indirectly) include y be re-done?

If we have a perfect build system, all switches etc. would be reflected in a way, that would lead to a re-build.

Meanwhile we may want to avoid this pitfall by simply having one location for a particular link option and to make the target dependent on this file.

-Stephan


     Kay


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to