summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/testobj1.c
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-07-12 15:17:38 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-07-17 13:07:01 (GMT)
commit69ca768e7827c60b07914f248d7730fb7182ce4b (patch)
treeea516ca4382cb2a736043259dda033af61270498 /Tests/RunCMake/install/testobj1.c
parent25c3fb6c3512a76d45fd8a70d95fabe2777a4c2d (diff)
downloadCMake-69ca768e7827c60b07914f248d7730fb7182ce4b.zip
CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.gz
CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.bz2
Tests: Add test for install(TARGETS) RPATH functionality
Diffstat (limited to 'Tests/RunCMake/install/testobj1.c')
-rw-r--r--Tests/RunCMake/install/testobj1.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/testobj1.c b/Tests/RunCMake/install/testobj1.c
new file mode 100644
index 0000000..081ef20
--- /dev/null
+++ b/Tests/RunCMake/install/testobj1.c
@@ -0,0 +1,9 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+ int obj1(void);
+
+int main(void)
+{
+ return obj1();
+}