[ndnSIM] re-compiles everything after a very slight change

Alex Afanasyev aa at CS.UCLA.EDU
Wed Feb 17 00:45:33 PST 2016

Hi Carl,

It probably doesn't compile all the code, but it will compile a significant portion of the code, as change of interest affect a lot of things (i.e., many parts of ndn-cxx, basically everything in forwarding, etc).  Changes in less impactful headers and .cpp files should not incur such large recompilation.

Unfortunately, this is price of C++ for efficiency.


> On Feb 16, 2016, at 11:22 PM, Carl Zu <carlzu8 at gmail.com> wrote:
> Hi folks,
> A very simple problem:
> Imagine I commit a very slight change in the code (e.g., adding a variable to interest.hpp), and then I run ndn-simple.cpp (without changing anything). Then it first compiles ALL of codes. I do not know the reason, but this is very time consuming as one is supposed to commit a lot of changes before his code works properly, and it is normal to run almost after each and every change.
> Thank you for any guidance.
> Rgds,
> C

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160217/db4d81af/attachment.bin>

More information about the ndnSIM mailing list