Commit 26ff184c authored by Bill Hoffman's avatar Bill Hoffman
Browse files

correct exports for windows

parent cd0e978c
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{
......
#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();
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{
......
#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();
#include "sharedFile.h"
#include "testConly.h"
int CsharedFunction()
{
......
#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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment