Build2 analog of CMake's find_package
问题 Is there are any mechanism in Build2 like CMake's find_package? How to can i include a library that exists only on my system and not in package manager packages? 回答1: To use foo as dependency in your bar project, you need to add a line: cxx.libs += -lfoo in ~/bar/bar/buildfile 来源: https://stackoverflow.com/questions/57296089/build2-analog-of-cmakes-find-package