summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExportImport/foo.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-16 16:41:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-16 16:42:21 (GMT)
commitea73a8ea38d2709d046b8228ffbe4f9f644fb6e0 (patch)
tree68d7cc808af1a8aac09fbf290efd4970cfe3f907 /Tests/RunCMake/ExportImport/foo.c
parentdb1a284611abf444855f7607c9b930455ffc957e (diff)
parent0ebff0d61acf27c077545a36ee83526cef22e1fc (diff)
downloadCMake-ea73a8ea38d2709d046b8228ffbe4f9f644fb6e0.zip
CMake-ea73a8ea38d2709d046b8228ffbe4f9f644fb6e0.tar.gz
CMake-ea73a8ea38d2709d046b8228ffbe4f9f644fb6e0.tar.bz2
Merge topic 'export-no-shdeps'
0ebff0d61a export: Restore exclusion of private shared library dependencies from checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7557
Diffstat (limited to 'Tests/RunCMake/ExportImport/foo.c')
-rw-r--r--Tests/RunCMake/ExportImport/foo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExportImport/foo.c b/Tests/RunCMake/ExportImport/foo.c
new file mode 100644
index 0000000..8794965
--- /dev/null
+++ b/Tests/RunCMake/ExportImport/foo.c
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ int foo(void)
+{
+ return 0;
+}