mirror of
https://github.com/reactos/CMake.git
synced 2025-02-01 09:35:03 +00:00
Fix CompileCommandOutput test build on Windows
Add dllexport markup for the shared library.
This commit is contained in:
parent
7039d1fd9b
commit
cdc2b41cc2
@ -1 +1,11 @@
|
||||
void relative();
|
||||
#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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user