mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
correct exports for windows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "sharedFile.h"
|
||||
#include "testConly.h"
|
||||
|
||||
int CsharedFunction()
|
||||
{
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
#include "sharedFile.h"
|
||||
#include "testConly.h"
|
||||
|
||||
int CsharedFunction()
|
||||
{
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
#include "sharedFile.h"
|
||||
#include "testConly.h"
|
||||
|
||||
int CsharedFunction()
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user