Also, all of the above work-arounds have shortcomings that I find
extremely important to consider, but are less convincing to random
end-users.
1/ GNU -MD does not handle missing files. This means that adding a
new header earlier in the includes search path will not be
detected. Tup does that. (and can do that for system headers if
asked to).
2/ Depending on Makefiles themselves is a common trick, but it is
coarse grained, as all the targets in a Makefile would need to be
rebuilt whenever one changes (This is more about speed, that you
specifically asked not to consider).
3/ Make will not tell you when you have hidden (a.k.a. undeclared)
dependencies. So you may achieve a correct build definition with
Make, but you will never be certain you do. Why live with
uncertainty when it can be ruled out ?
Now, Tup comes with some constraints due to all the correctness
enforcement. These would be valid reasons not to use it if you
build is so peculiar that it its them.
I'm porting Eclipse C++ project builds (ugly) to something more reliable. My C++ projects consist of many-many libraries and executable files. So, as a test, I ported a few to to TUP, and it works great. However, a co-worker asked, "Why not just use make instead? It's in all the servers and works great." My reply was: "Auto-dependency detection and speed." Now, speed is very nice but it isn't much of an issue in our case. Then, he said that given the right inputs (.cpp, .h, .d files. etc.), make can deal with dependencies if used along with GNU -MD flag to generate the 'd' files, etc.--
What's your take on this never-ending debate? (I.e. I couldn't convince him of tup's superiority).
--
tup-users mailing list
email: tup-...@googlegroups.com
unsubscribe: tup-users+...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/7060f6d5-b72b-4389-99e9-ca945c2a7b11%40googlegroups.com.
unsubscribe: tup-...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-...@googlegroups.com.
unsubscribe: tup-users+...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/4e5f210a-5608-4339-9152-ae6d2bcd5f67%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/4e5f210a-5608-4339-9152-ae6d2bcd5f67%40googlegroups.com.
unsubscribe: tup-users+...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/eed2ee10-2cb2-4193-a391-7260f0a8558d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/eed2ee10-2cb2-4193-a391-7260f0a8558d%40googlegroups.com.
unsubscribe: tup-users+...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/7004e3e7-c620-4359-86ef-751ee650e32b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/CABpWYzdTL6u8in_2aDqPPBKH1LOOjuvW2Vv_kLz0SjJLQd42fQ%40mail.gmail.com.