diff options
Diffstat (limited to 'Tests/ComplexOneConfig/Library/moduleFile.h')
-rw-r--r-- | Tests/ComplexOneConfig/Library/moduleFile.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Library/moduleFile.h b/Tests/ComplexOneConfig/Library/moduleFile.h new file mode 100644 index 0000000..6b561e1 --- /dev/null +++ b/Tests/ComplexOneConfig/Library/moduleFile.h @@ -0,0 +1,12 @@ +#if defined(_WIN32) || defined(WIN32) /* Win32 version */ +#ifdef CMakeTestModule_EXPORTS +# define CMakeTest_EXPORT __declspec(dllexport) +#else +# define CMakeTest_EXPORT __declspec(dllimport) +#endif +#else +/* unix needs nothing */ +#define CMakeTest_EXPORT +#endif + +CMakeTest_EXPORT int ModuleFunction(); |