summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-09 10:19:02 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-09 10:19:02 -0400
commit26ff184cf27779f72337f6a4cf622a6d08470b76 (patch)
tree9e1d80d51095f375dddb3fda2cf68c40be09fdaf
parentcd0e978ca111b33abcd4f86cbe0bbd0fe2f5a39a (diff)
downloadcmake-26ff184cf27779f72337f6a4cf622a6d08470b76.tar.gz
correct exports for windows
-rw-r--r--Tests/Complex/Library/testConly.c2
-rw-r--r--Tests/Complex/Library/testConly.h3
-rw-r--r--Tests/ComplexOneConfig/Library/testConly.c2
-rw-r--r--Tests/ComplexOneConfig/Library/testConly.h3
-rw-r--r--Tests/ComplexRelativePaths/Library/testConly.c2
-rw-r--r--Tests/ComplexRelativePaths/Library/testConly.h3
6 files changed, 9 insertions, 6 deletions
diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c
index d2d5294b1b..05ec1076c0 100644
--- a/Tests/Complex/Library/testConly.c
+++ b/Tests/Complex/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
int CsharedFunction()
{
diff --git a/Tests/Complex/Library/testConly.h b/Tests/Complex/Library/testConly.h
index 8553a6b592..fc4c3f1936 100644
--- a/Tests/Complex/Library/testConly.h
+++ b/Tests/Complex/Library/testConly.h
@@ -1,5 +1,5 @@
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
# define CMakeTest_EXPORT __declspec(dllexport)
#else
# define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
#endif
CMakeTest_EXPORT int CsharedFunction();
+
diff --git a/Tests/ComplexOneConfig/Library/testConly.c b/Tests/ComplexOneConfig/Library/testConly.c
index d2d5294b1b..05ec1076c0 100644
--- a/Tests/ComplexOneConfig/Library/testConly.c
+++ b/Tests/ComplexOneConfig/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
int CsharedFunction()
{
diff --git a/Tests/ComplexOneConfig/Library/testConly.h b/Tests/ComplexOneConfig/Library/testConly.h
index 8553a6b592..fc4c3f1936 100644
--- a/Tests/ComplexOneConfig/Library/testConly.h
+++ b/Tests/ComplexOneConfig/Library/testConly.h
@@ -1,5 +1,5 @@
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
# define CMakeTest_EXPORT __declspec(dllexport)
#else
# define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
#endif
CMakeTest_EXPORT int CsharedFunction();
+
diff --git a/Tests/ComplexRelativePaths/Library/testConly.c b/Tests/ComplexRelativePaths/Library/testConly.c
index d2d5294b1b..05ec1076c0 100644
--- a/Tests/ComplexRelativePaths/Library/testConly.c
+++ b/Tests/ComplexRelativePaths/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
int CsharedFunction()
{
diff --git a/Tests/ComplexRelativePaths/Library/testConly.h b/Tests/ComplexRelativePaths/Library/testConly.h
index 8553a6b592..fc4c3f1936 100644
--- a/Tests/ComplexRelativePaths/Library/testConly.h
+++ b/Tests/ComplexRelativePaths/Library/testConly.h
@@ -1,5 +1,5 @@
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
# define CMakeTest_EXPORT __declspec(dllexport)
#else
# define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
#endif
CMakeTest_EXPORT int CsharedFunction();
+