diff options
Diffstat (limited to 'Tests/Module/GenerateExportHeader/libstatic')
3 files changed, 0 insertions, 172 deletions
diff --git a/Tests/Module/GenerateExportHeader/libstatic/CMakeLists.txt b/Tests/Module/GenerateExportHeader/libstatic/CMakeLists.txt deleted file mode 100644 index b2db3ea..0000000 --- a/Tests/Module/GenerateExportHeader/libstatic/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ - -cmake_minimum_required(VERSION 2.8) - -project(libstatic) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -include(GenerateExportHeader) - -add_compiler_export_flags() - -# Show that the export header has no effect on a static library. - -add_library(libstatic STATIC libstatic.cpp) - -generate_export_header(libstatic) - -export(TARGETS libstatic FILE Targets.cmake) diff --git a/Tests/Module/GenerateExportHeader/libstatic/libstatic.cpp b/Tests/Module/GenerateExportHeader/libstatic/libstatic.cpp deleted file mode 100644 index 89381af..0000000 --- a/Tests/Module/GenerateExportHeader/libstatic/libstatic.cpp +++ /dev/null @@ -1,97 +0,0 @@ - -#include "libstatic.h" - -int Libstatic::libstatic() const -{ - return 0; -} - -int Libstatic::libstatic_exported() const -{ - return 0; -} - -int Libstatic::libstatic_deprecated() const -{ - return 0; -} - -int Libstatic::libstatic_not_exported() const -{ - return 0; -} - -int Libstatic::libstatic_excluded() const -{ - return 0; -} - -int LibstaticNotExported::libstatic() const -{ - return 0; -} - -int LibstaticNotExported::libstatic_exported() const -{ - return 0; -} - -int LibstaticNotExported::libstatic_deprecated() const -{ - return 0; -} - -int LibstaticNotExported::libstatic_not_exported() const -{ - return 0; -} - -int LibstaticNotExported::libstatic_excluded() const -{ - return 0; -} - -int LibstaticExcluded::libstatic() const -{ - return 0; -} - -int LibstaticExcluded::libstatic_exported() const -{ - return 0; -} - -int LibstaticExcluded::libstatic_deprecated() const -{ - return 0; -} - -int LibstaticExcluded::libstatic_not_exported() const -{ - return 0; -} - -int LibstaticExcluded::libstatic_excluded() const -{ - return 0; -} - -int libstatic_exported() -{ - return 0; -} - -int libstatic_deprecated() -{ - return 0; -} - -int libstatic_not_exported() -{ - return 0; -} - -int libstatic_excluded() -{ - return 0; -} diff --git a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h deleted file mode 100644 index 6072d9b..0000000 --- a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h +++ /dev/null @@ -1,57 +0,0 @@ - -#ifndef LIBSTATIC_H -#define LIBSTATIC_H - -#include "libstatic_export.h" - -class LIBSTATIC_EXPORT Libstatic -{ -public: - int libstatic() const; - - int libstatic_exported() const; - - int LIBSTATIC_DEPRECATED libstatic_deprecated() const; - - int libstatic_not_exported() const; - - int LIBSTATIC_NO_EXPORT libstatic_excluded() const; -}; - -class LibstaticNotExported -{ -public: - int libstatic() const; - - int LIBSTATIC_EXPORT libstatic_exported() const; - - int LIBSTATIC_DEPRECATED libstatic_deprecated() const; - - int libstatic_not_exported() const; - - int LIBSTATIC_NO_EXPORT libstatic_excluded() const; -}; - -class LIBSTATIC_NO_EXPORT LibstaticExcluded -{ -public: - int libstatic() const; - - int LIBSTATIC_EXPORT libstatic_exported() const; - - int LIBSTATIC_DEPRECATED libstatic_deprecated() const; - - int libstatic_not_exported() const; - - int LIBSTATIC_NO_EXPORT libstatic_excluded() const; -}; - -LIBSTATIC_EXPORT int libstatic_exported(); - -LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated(); - -int libstatic_not_exported(); - -int LIBSTATIC_NO_EXPORT libstatic_excluded(); - -#endif |
