Commit ebb3536
meson: simplify use of the common-main library
The "common-main.c" file is used by multiple executables. In order to
make it easy to set it up we have created a separate library that these
executables can link against. All of these executables also want to link
against `libgit.a` though, which makes it necessary to specify both of
these as dependencies for every executable.
Simplify this a bit by declaring the library as a source dependency:
instead of creating a static library, we now instead compile the common
set of files into each executable separately.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ce94328 commit ebb3536
File tree
4 files changed
+24
-25
lines changed- oss-fuzz
- t
- helper
4 files changed
+24
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1615 | 1613 | | |
| 1614 | + | |
1616 | 1615 | | |
1617 | 1616 | | |
1618 | 1617 | | |
1619 | 1618 | | |
1620 | 1619 | | |
1621 | 1620 | | |
1622 | 1621 | | |
1623 | | - | |
| 1622 | + | |
1624 | 1623 | | |
1625 | 1624 | | |
1626 | 1625 | | |
1627 | 1626 | | |
1628 | 1627 | | |
1629 | 1628 | | |
1630 | 1629 | | |
1631 | | - | |
| 1630 | + | |
1632 | 1631 | | |
1633 | 1632 | | |
1634 | 1633 | | |
1635 | 1634 | | |
1636 | 1635 | | |
1637 | 1636 | | |
1638 | | - | |
| 1637 | + | |
1639 | 1638 | | |
1640 | 1639 | | |
1641 | 1640 | | |
1642 | 1641 | | |
1643 | 1642 | | |
1644 | 1643 | | |
1645 | | - | |
| 1644 | + | |
1646 | 1645 | | |
1647 | 1646 | | |
1648 | 1647 | | |
1649 | 1648 | | |
1650 | 1649 | | |
1651 | 1650 | | |
1652 | | - | |
| 1651 | + | |
1653 | 1652 | | |
1654 | 1653 | | |
1655 | 1654 | | |
1656 | 1655 | | |
1657 | 1656 | | |
1658 | 1657 | | |
1659 | | - | |
| 1658 | + | |
1660 | 1659 | | |
1661 | 1660 | | |
1662 | 1661 | | |
| |||
1669 | 1668 | | |
1670 | 1669 | | |
1671 | 1670 | | |
1672 | | - | |
| 1671 | + | |
1673 | 1672 | | |
1674 | 1673 | | |
1675 | 1674 | | |
1676 | 1675 | | |
1677 | 1676 | | |
1678 | 1677 | | |
1679 | 1678 | | |
1680 | | - | |
| 1679 | + | |
1681 | 1680 | | |
1682 | 1681 | | |
1683 | 1682 | | |
1684 | 1683 | | |
1685 | 1684 | | |
1686 | 1685 | | |
1687 | 1686 | | |
1688 | | - | |
| 1687 | + | |
1689 | 1688 | | |
1690 | 1689 | | |
1691 | 1690 | | |
| |||
1694 | 1693 | | |
1695 | 1694 | | |
1696 | 1695 | | |
1697 | | - | |
| 1696 | + | |
1698 | 1697 | | |
1699 | 1698 | | |
1700 | 1699 | | |
| |||
1711 | 1710 | | |
1712 | 1711 | | |
1713 | 1712 | | |
1714 | | - | |
| 1713 | + | |
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
1718 | 1717 | | |
1719 | 1718 | | |
1720 | 1719 | | |
1721 | 1720 | | |
1722 | | - | |
| 1721 | + | |
1723 | 1722 | | |
1724 | 1723 | | |
1725 | 1724 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments