mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 20:49:41 +00:00
cdc2b41cc2
Add dllexport markup for the shared library.
12 lines
213 B
C
12 lines
213 B
C
#if defined(_WIN32)
|
|
# ifdef test2_EXPORTS
|
|
# define TEST2_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define TEST2_EXPORT __declspec(dllimport)
|
|
# endif
|
|
#else
|
|
# define TEST2_EXPORT
|
|
#endif
|
|
|
|
TEST2_EXPORT void relative();
|