summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstallS2/lib4.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-28 18:40:17 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-28 18:40:17 (GMT)
commitf9b43b9212b1ae2ba4dd9c4f609f8d5093421398 (patch)
tree3d0d7dc4ceb4f927efa927a568adc2594a58d355 /Tests/SimpleInstallS2/lib4.h
parentd392ccaee563a7f757eae72d9b32ea258e846a7c (diff)
downloadCMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.zip
CMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.tar.gz
CMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.tar.bz2
BUG: Implement installing of shared library versioning and add test for the whole thing
Diffstat (limited to 'Tests/SimpleInstallS2/lib4.h')
-rw-r--r--Tests/SimpleInstallS2/lib4.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/SimpleInstallS2/lib4.h b/Tests/SimpleInstallS2/lib4.h
new file mode 100644
index 0000000..4b94ea2
--- /dev/null
+++ b/Tests/SimpleInstallS2/lib4.h
@@ -0,0 +1,12 @@
+#ifdef _WIN32
+# ifdef test4_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 Lib4Func();
+