Sfoglia il codice sorgente

correct exports for windows

Bill Hoffman 23 anni fa
parent
commit
26ff184cf2

+ 1 - 1
Tests/Complex/Library/testConly.c

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

+ 2 - 1
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();
+ 

+ 1 - 1
Tests/ComplexOneConfig/Library/testConly.c

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

+ 2 - 1
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();
+ 

+ 1 - 1
Tests/ComplexRelativePaths/Library/testConly.c

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

+ 2 - 1
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();
+