2

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?

Kevin
  • 14,269
  • 7
  • 44
  • 64
Blaze
  • 641
  • 2
  • 6
  • 12

1 Answers1

2

To use foo as dependency in your bar project, you need to add a line:

cxx.libs += -lfoo

in ~/bar/bar/buildfile

Blaze
  • 641
  • 2
  • 6
  • 12