News for hackers. Stuff that matters.
Re:Modern C++ for C Programmers (2018) by adamnemecek on Friday July 23, 2021 @09:51PM (#27937752)
Right, but not all problems can solved with header only frameworks.
Re:Modern C++ for C Programmers (2018) by dkersten on Friday July 23, 2021 @11:16PM (#27938115)
I did use Bullet physics not too long ago, which most definitely isn't header-only, but the exact same approach worked there too. Git submodule, set include path. The only difference is that I also told my build tool to build its sources and package them into an .a archive, which I linked against. It was no trouble at all.
Re:Modern C++ for C Programmers (2018) by dkersten on Saturday July 24, 2021 @07:55AM (#27940130)
Too late to edit: yes, I know this doesn't work for everything and won't work for everyone, but its worked great for me, so my point is simply that your assertion that everyone has difficulties dealing with dependencies is false. Some people for sure do, but there are people, like me, who don't.