Hacker News new | past | comments | ask | show | jobs | submit login

> should your source list include header files?

IMO yes. Part of CMakes usefulness is IDE integrations, so listing your headers means they show up in your IDE.

As for your points about find modules not working, that’s not really CMakes fault. I’ve spent days fixing bad autotools/premakr/scons/custom scripts, (not to mention third party code in general).




I agree that it's not CMake's fault, but it does fit the grandparent's statement that "everyone does things slightly differently".

It's also very fixable - a central site for collecting find_package modules and enforcing certain standards should be doable, and would improve CMake's UX significantly.


Yeah agreed, a site of find package modules would go a long way towards helping, but only if they’re vetted in some way, otherwise nothing r ally changes.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: