summaryrefslogtreecommitdiff
path: root/Tests/Complex/Library/sharedFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex/Library/sharedFile.h')
-rw-r--r--Tests/Complex/Library/sharedFile.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/Library/sharedFile.h b/Tests/Complex/Library/sharedFile.h
new file mode 100644
index 000000000..65ac2e2ba
--- /dev/null
+++ b/Tests/Complex/Library/sharedFile.h
@@ -0,0 +1,12 @@
+#if defined(_WIN32) || defined(WIN32) /* Win32 version */
+#ifdef CMakeTestLibraryShared_EXPORTS
+# define CMakeTest_EXPORT __declspec(dllexport)
+#else
+# define CMakeTest_EXPORT __declspec(dllimport)
+#endif
+#else
+/* unix needs nothing */
+#define CMakeTest_EXPORT
+#endif
+
+CMakeTest_EXPORT int sharedFunction();