Wie man Abhängigkeits-Include- & Bibliotheksverzeichnisse in Conanfile.py erhält
English
Deutsch
In conanfile.py können Sie so eine Liste der Include- & Bibliotheksverzeichnisse für jede der Abhängigkeiten erhalten:
conanfile.py
class MyProject(Conanfile):
# ...
def build(self):
# Check dependencies
for dependency in self.dependencies.values():
cppinfo = dependency.cpp_info.aggregated_components()
print("libdirs", cppinfo.libdirs)
print("includedirs", cppinfo.includedirs)
# ...Check out similar posts by category:
Conan
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow