summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstall/lib2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstall/lib2.h')
-rw-r--r--Tests/SimpleInstall/lib2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/lib2.h b/Tests/SimpleInstall/lib2.h
new file mode 100644
index 0000000..ea5a6f7
--- /dev/null
+++ b/Tests/SimpleInstall/lib2.h
@@ -0,0 +1,11 @@
+#ifdef _WIN32
+# ifdef test2_EXPORTS
+# define CM_TEST_LIB_EXPORT __declspec( dllexport )
+# else
+# define CM_TEST_LIB_EXPORT __declspec( dllimport )
+# endif
+#else
+# define CM_TEST_LIB_EXPORT
+#endif
+
+CM_TEST_LIB_EXPORT float Lib2Func();