mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +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
261 B
C
18 lines
261 B
C
|
|
#ifndef shared2_h
|
|
#define shared2_h
|
|
|
|
#ifdef WIN32
|
|
# ifdef shared2_EXPORTS
|
|
# define SHARED2_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define SHARED2_EXPORT __declspec(dllimport)
|
|
# endif
|
|
#else
|
|
# define SHARED2_EXPORT
|
|
#endif
|
|
|
|
void SHARED2_EXPORT shared2();
|
|
|
|
#endif
|