correct exports for windows
This commit is contained in:
parent
cd0e978ca1
commit
26ff184cf2
|
@ -1,4 +1,4 @@
|
||||||
#include "sharedFile.h"
|
#include "testConly.h"
|
||||||
|
|
||||||
int CsharedFunction()
|
int CsharedFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
||||||
#ifdef CMakeTestLibraryShared_EXPORTS
|
#ifdef CMakeTestCLibraryShared_EXPORTS
|
||||||
# define CMakeTest_EXPORT __declspec(dllexport)
|
# define CMakeTest_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||||
|
@ -10,3 +10,4 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CMakeTest_EXPORT int CsharedFunction();
|
CMakeTest_EXPORT int CsharedFunction();
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "sharedFile.h"
|
#include "testConly.h"
|
||||||
|
|
||||||
int CsharedFunction()
|
int CsharedFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
||||||
#ifdef CMakeTestLibraryShared_EXPORTS
|
#ifdef CMakeTestCLibraryShared_EXPORTS
|
||||||
# define CMakeTest_EXPORT __declspec(dllexport)
|
# define CMakeTest_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||||
|
@ -10,3 +10,4 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CMakeTest_EXPORT int CsharedFunction();
|
CMakeTest_EXPORT int CsharedFunction();
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "sharedFile.h"
|
#include "testConly.h"
|
||||||
|
|
||||||
int CsharedFunction()
|
int CsharedFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
||||||
#ifdef CMakeTestLibraryShared_EXPORTS
|
#ifdef CMakeTestCLibraryShared_EXPORTS
|
||||||
# define CMakeTest_EXPORT __declspec(dllexport)
|
# define CMakeTest_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||||
|
@ -10,3 +10,4 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CMakeTest_EXPORT int CsharedFunction();
|
CMakeTest_EXPORT int CsharedFunction();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue