diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-15 22:31:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-15 22:31:22 (GMT) |
commit | c6d2312619f008a691d9a313988b15c02e4f94cd (patch) | |
tree | 3dfde773b647d2739f97f0217dd1a40225f1c0ff /Tests/Complex/Library/moduleFile.h | |
parent | 17d8775e82aafe373f25b6d6ce9a568ab78816f2 (diff) | |
download | CMake-c6d2312619f008a691d9a313988b15c02e4f94cd.zip CMake-c6d2312619f008a691d9a313988b15c02e4f94cd.tar.gz CMake-c6d2312619f008a691d9a313988b15c02e4f94cd.tar.bz2 |
ENH: add testing for modules and one two config modes for cmaketest
Diffstat (limited to 'Tests/Complex/Library/moduleFile.h')
-rw-r--r-- | Tests/Complex/Library/moduleFile.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/Library/moduleFile.h b/Tests/Complex/Library/moduleFile.h new file mode 100644 index 0000000..6b561e1 --- /dev/null +++ b/Tests/Complex/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(); |