diff options
| author | Brad King <brad.king@kitware.com> | 2016-09-01 19:22:05 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2016-09-05 13:45:42 (GMT) |
| commit | fc3dab0ea956db618fe2b77778ac413db846b422 (patch) | |
| tree | de71447ff4c14e7a2d204ed94445f162a49d9266 /Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h | |
| parent | 4feba34d02fe42fd20209e5b247f91d8e0f7a2ac (diff) | |
| download | CMake-fc3dab0ea956db618fe2b77778ac413db846b422.zip CMake-fc3dab0ea956db618fe2b77778ac413db846b422.tar.gz CMake-fc3dab0ea956db618fe2b77778ac413db846b422.tar.bz2 | |
Tests: Port GenerateExportHeader test to RunCMake infrastructure
This will allow build failure cases to be added later.
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h')
| -rw-r--r-- | Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h b/Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h new file mode 100644 index 0000000..598bd71 --- /dev/null +++ b/Tests/RunCMake/GenerateExportHeader/reference/WinEmpty/libstatic_export.h @@ -0,0 +1,42 @@ + +#ifndef LIBSTATIC_EXPORT_H +#define LIBSTATIC_EXPORT_H + +#ifdef LIBSTATIC_STATIC_DEFINE +# define LIBSTATIC_EXPORT +# define LIBSTATIC_NO_EXPORT +#else +# ifndef LIBSTATIC_EXPORT +# ifdef libstatic_EXPORTS + /* We are building this library */ +# define LIBSTATIC_EXPORT +# else + /* We are using this library */ +# define LIBSTATIC_EXPORT +# endif +# endif + +# ifndef LIBSTATIC_NO_EXPORT +# define LIBSTATIC_NO_EXPORT +# endif +#endif + +#ifndef LIBSTATIC_DEPRECATED +# define LIBSTATIC_DEPRECATED +#endif + +#ifndef LIBSTATIC_DEPRECATED_EXPORT +# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED +#endif + +#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT +# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED +#endif + +#if 0 /* DEFINE_NO_DEPRECATED */ +# ifndef LIBSTATIC_NO_DEPRECATED +# define LIBSTATIC_NO_DEPRECATED +# endif +#endif + +#endif |
