[cmake-commits] king committed example.h NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Apr 17 13:43:05 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/Plugin/include
In directory public:/mounts/ram/cvs-serv31953/include
Added Files:
example.h
Log Message:
ENH: Added test for executables with plugins that use an API exported by the executable itself.
--- NEW FILE: example.h ---
#ifndef example_h
#define example_h
#if defined(_WIN32)
# if defined(example_exe_EXPORTS)
# define EXAMPLE_EXPORT __declspec(dllexport)
# else
# define EXAMPLE_EXPORT __declspec(dllimport)
# endif
#else
# define EXAMPLE_EXPORT
#endif
#ifdef __cplusplus
extern "C"
{
#endif
EXAMPLE_EXPORT int example_exe_function(void);
#ifdef __cplusplus
}
#endif
#endif
More information about the Cmake-commits
mailing list