jimporter / bfg9000

bfg9000 - build file generator
https://jimporter.github.io/bfg9000
BSD 3-Clause "New" or "Revised" License
76 stars 21 forks source link

Add a header_only option to package() #82

Closed jimporter closed 7 years ago

jimporter commented 7 years ago

Some packages don't have a library associated with them. This is fine if it's found by pkg-config, but if we fall back to searching system directories, the package resolver wouldn't know to avoid looking for libs. We should add a header_only option to make this work.

(Sadly, this is a bit of a leaky abstraction, since you shouldn't have to care how a lib is implemented in order to use it, but that's life...)