Re: [CMake] Shortcomings with exporting and importing targets

2019-07-24 Thread Benjamin Shadwick
As a followup to my previous email dated 7/15/19, I learned from a co-worker this week that if Project A's target_link_libraries() links against an explicit path+filename of an external library, a subsequent install(TARGETS ...) command will actually include that dependency in the exported target f

[CMake] Hunter [CMake/C++] Package Manager: To be or not to be

2019-07-24 Thread Cristian Adam
Hi, For those of you who use Hunter for package management with CMake, its maintainer has issued a call for support to keep it alive or take over its maintainership: https://github.com/ruslo/hunter/issues/1921 Hunter is different than vcpkg and Conan, it uses only CMake to do the package manage

[CMake] add_subdirectory namespaces

2019-07-24 Thread Jason Beach
I've been reorganizing / updating our software cmake build. It currently uses a mixture of Externa Projects and normal target definitions that depend on the external projects (which has you probably know causes much sorrow and grief). One of my goals in the reorganization was to replace all the Ex