summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLib3Imp.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-30 22:26:09 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-30 22:26:09 (GMT)
commit109b5fc7a22b1f2e1711a7fcafff08c11f1bdb49 (patch)
treeef9f65cd1985267449764979424bacf497667498 /Tests/ExportImport/Export/testLib3Imp.c
parent7902bc06aae07a9d4cde81ab41c3c86694d80a9b (diff)
downloadCMake-109b5fc7a22b1f2e1711a7fcafff08c11f1bdb49.zip
CMake-109b5fc7a22b1f2e1711a7fcafff08c11f1bdb49.tar.gz
CMake-109b5fc7a22b1f2e1711a7fcafff08c11f1bdb49.tar.bz2
ENH: Updated ExportImport test to try LINK_INTERFACE_LIBRARIES.
Diffstat (limited to 'Tests/ExportImport/Export/testLib3Imp.c')
-rw-r--r--Tests/ExportImport/Export/testLib3Imp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ExportImport/Export/testLib3Imp.c b/Tests/ExportImport/Export/testLib3Imp.c
new file mode 100644
index 0000000..fb4c13f
--- /dev/null
+++ b/Tests/ExportImport/Export/testLib3Imp.c
@@ -0,0 +1,7 @@
+#if defined(_WIN32) || defined(__CYGWIN__)
+# define testLib3Imp_EXPORT __declspec(dllexport)
+#else
+# define testLib3Imp_EXPORT
+#endif
+
+testLib3Imp_EXPORT int testLib3Imp(void) { return 0; }