aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/target.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-12-03Reimplement search_existing() functions via target_type::searchBoris Kolpackov1-3/+3
This allows us to automatically get the target type-specific behavior with regards to the out_only semantics (added in the previous commit) instead of passing it explicitly from each call site.
2022-04-06Get rid of stray trailing commasBoris Kolpackov1-6/+6
2022-04-06Add support for rule hintsBoris Kolpackov1-26/+29
A rule hint is a target attribute, for example: [rule_hint=cxx] exe{hello}: c{hello} Rule hints can be used to resolve ambiguity when multiple rules match the same target as well as to override an unambiguous match.
2020-12-04Fix bug in installed libraries matching logicBoris Kolpackov1-1/+1
2020-12-03Fix modules support for installed librariesBoris Kolpackov1-1/+1
2020-03-20Generate common .pc file in addition to static/staged when installing lib{}Boris Kolpackov1-1/+1
The common .pc file is produced by ignoring any static/shared-specific poptions and splitting loptions/libs into Libs/Libs.private. It is "best effort", in a sense that it's not guaranteed to be sufficient in all cases, but it will probably cover the majority of cases, even on Windows, thanks to automatic dllimport'ing of functions.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-08-28Move bin build system module to separate libraryKaren Arutyunov1-0/+474