3 ms·
> 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.
by maccard 8y ago
> 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).
- predakanga 8y agoI 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.
- maccard 8y agoYeah 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.