summaryrefslogtreecommitdiffstats
path: root/Tests/ObjectLibrary/Transitive/BarMain.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-31 15:36:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-31 15:36:55 (GMT)
commit5305d5aa1a6900c64a5833176b43a21acb13fb30 (patch)
tree8af9de023d9e278904d849709c78535f257eea0b /Tests/ObjectLibrary/Transitive/BarMain.c
parente7c300e3567a394bcc8e90ddccf46faa68d3afae (diff)
parentf3ad061858d03cc2a0569f903df3560152106050 (diff)
downloadCMake-5305d5aa1a6900c64a5833176b43a21acb13fb30.zip
CMake-5305d5aa1a6900c64a5833176b43a21acb13fb30.tar.gz
CMake-5305d5aa1a6900c64a5833176b43a21acb13fb30.tar.bz2
Merge topic 'link-interface-direct'
f3ad061858 Add usage requirements to update direct link dependencies 193a999cd5 cmTarget: Add INTERFACE_LINK_LIBRARIES_DIRECT{,_EXCLUDE} backtrace storage 22d5427aa6 cmGeneratorTarget: Add LookupLinkItem option to consider own target name f3d2eab36a cmGeneratorTarget: Fix link interface caching of partial results d75ab9d066 cmGeneratorTarget: Clarify CMP0022 logic in ComputeLinkInterfaceLibraries f3e9e03fe0 cmGeneratorTarget: Simplify CMP0022 warning check 216aa14997 cmGeneratorTarget: Return early from ExpandLinkItems with no items 1bc98371d1 Tests: Remove unnecessary policy setting from ObjectLibrary test ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6886
Diffstat (limited to 'Tests/ObjectLibrary/Transitive/BarMain.c')
-rw-r--r--Tests/ObjectLibrary/Transitive/BarMain.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/ObjectLibrary/Transitive/BarMain.c b/Tests/ObjectLibrary/Transitive/BarMain.c
new file mode 100644
index 0000000..aec3e48
--- /dev/null
+++ b/Tests/ObjectLibrary/Transitive/BarMain.c
@@ -0,0 +1,6 @@
+extern int BarObject1(void);
+
+int main(void)
+{
+ return BarObject1();
+}