mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
7ac7b437b8
Also add a test of BundleUtilities including an exe, some shared libs, a plugin, and a framework-style lib. This test presently runs (and this functionality works) on Linux, Mac and Windows. For now, the framework-style lib is built as a plain old shared lib because there is another yet-unresolved issue with local frameworks without rpaths on the Mac.
18 lines
253 B
C
18 lines
253 B
C
|
|
#ifndef shared_h
|
|
#define shared_h
|
|
|
|
#ifdef WIN32
|
|
# ifdef shared_EXPORTS
|
|
# define SHARED_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define SHARED_EXPORT __declspec(dllimport)
|
|
# endif
|
|
#else
|
|
# define SHARED_EXPORT
|
|
#endif
|
|
|
|
void SHARED_EXPORT shared();
|
|
|
|
#endif
|