CMake/Tests/BundleUtilities/shared2.h
Clinton Stimpson 7ac7b437b8 BundleUtilities: Work w/ non .app exes on Mac (#12034)
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.
2011-05-27 16:11:43 -04:00

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