pfultz2 / cget

C++ package retrieval

Home Page:http://cget.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake integration

maddanio opened this issue · comments

while cget seems to rely heavily on cmake, i cannot seem to find how to ingegrate it into a cmake project. ideally we would like cget to be called to build (ideally optionally fetch prebuilt) dependencies and then link to them, including transitive dependencies. ideally using the modern target syntax

what would be nice is to be able to have targets for all packages and have them have transitive include and link specs for all their dependencies. should be doable with some cmake foo

ok, I guess the toolchain actually prepares things for this. so all missing for me is to have a macro to run cget and possibly allow local recipes...