build a project

Xu, Qian qian.xu at funkwerk-itk.com
Thu Mar 26 16:19:31 PDT 2009


"Denis Koroskin" <2korden at gmail.com> wrote in message 
news:op.urepy0lro7cclz at hood.creatstudio.intranet...
> It's certainly much faster to generate 1 header file than recompile all 
> the dependencies each time.
>

Yes. but it works for certain redundancy (like comments) only.
If you change your implementation not your interface, the header file will 
be changed as well. so I cannot take much advantage of header files of D. 
(Am I wrong?)

for instance:
class Foo {
  void bar() {
     int i = 0;
     i ++; // add/remove this line, to see, if the header file changes.
  }
}

--Qian 




More information about the Digitalmars-d mailing list