From 26ff184cf27779f72337f6a4cf622a6d08470b76 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 9 Apr 2002 10:19:02 -0400 Subject: [PATCH] correct exports for windows --- Tests/Complex/Library/testConly.c | 2 +- Tests/Complex/Library/testConly.h | 3 ++- Tests/ComplexOneConfig/Library/testConly.c | 2 +- Tests/ComplexOneConfig/Library/testConly.h | 3 ++- Tests/ComplexRelativePaths/Library/testConly.c | 2 +- Tests/ComplexRelativePaths/Library/testConly.h | 3 ++- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c index d2d5294b1..05ec1076c 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 8553a6b59..fc4c3f193 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 d2d5294b1..05ec1076c 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 8553a6b59..fc4c3f193 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 d2d5294b1..05ec1076c 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 8553a6b59..fc4c3f193 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(); +