aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/utility.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-02-22Diagnose instead of asserting lib{} group with no membersBoris Kolpackov1-1/+3
Fixes GH issue #361.
2022-06-24Match rule to libul{} with explicit bin.metadata hintBoris Kolpackov1-0/+5
This rule picks, matches, and unmatches (if possible) a member for the purpose of making its metadata (for example, library's poptions, if it's one of the cc libraries) available.
2021-04-20Disable bunch of bogus GCC warningsBoris Kolpackov1-3/+0
2020-12-11Add support for module interface-only librariesBoris Kolpackov1-6/+10
Also suppress generation of the object file in cases where we don't need it.
2020-06-16Add $bin.link_member() functionBoris Kolpackov1-21/+6
Given a linker output target type ("exe", "lib[as]", or "libu[eas]") return the target type of lib{} group member ("liba" or "libs") that will be picked when linking a lib{} group to this target type.
2020-06-16Move common functionality from cc to binBoris Kolpackov1-0/+134