diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 17:57:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 17:57:45 (GMT) |
commit | 3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c (patch) | |
tree | 7bb6b35243fdc96afa879e06c1f4557ee22318b9 /Tests/Complex/Library/sharedFile.h | |
parent | bd4c5cf3625bc4d23f2f5c20fee7fa0bb34aed4b (diff) | |
download | CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.zip CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.tar.gz CMake-3a3b55679b1c28ac4d7c24c2de2ce28d88a3d21c.tar.bz2 |
ENH: try to get better test coverage
Diffstat (limited to 'Tests/Complex/Library/sharedFile.h')
-rw-r--r-- | Tests/Complex/Library/sharedFile.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/Library/sharedFile.h b/Tests/Complex/Library/sharedFile.h new file mode 100644 index 0000000..4cdb7a1 --- /dev/null +++ b/Tests/Complex/Library/sharedFile.h @@ -0,0 +1,12 @@ +#if defined(_WIN32) || defined(WIN32) /* Win32 version */ +#ifdef CMakeTestLibraryShared_EXPORTS +# define CMakeTest_EXPORT __declspec(dllexport) +#else +# define CMakeTest_EXPORT __declspec(dllimport) +#endif +#else +// unix needs nothing +#define CMakeTest_EXPORT +#endif + +CMakeTest_EXPORT int sharedFunction(); |