robotpy / robotpy-build

(mostly) automated C++ wrapping for Python
BSD 3-Clause "New" or "Revised" License
35 stars 16 forks source link

Automatically detect 'depends' by inspecting the included library #183

Open virtuald opened 1 year ago

virtuald commented 1 year ago

An implementation of this would figure out the dependency at build time by using pkgcfg to figure out what robotpy-build libraries are already available. The relink_libs functionality already has the code to do much of the pkgcfg stuff since it has to do exactly this.