correct exports for windows

This commit is contained in:
Bill Hoffman 2002-04-09 10:19:02 -04:00
parent cd0e978ca1
commit 26ff184cf2
6 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{

View File

@ -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();

View File

@ -1,4 +1,4 @@
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{

View File

@ -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();

View File

@ -1,4 +1,4 @@
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{

View File

@ -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();