summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-01 19:22:05 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-05 13:45:42 (GMT)
commitfc3dab0ea956db618fe2b77778ac413db846b422 (patch)
treede71447ff4c14e7a2d204ed94445f162a49d9266 /Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp
parent4feba34d02fe42fd20209e5b247f91d8e0f7a2ac (diff)
downloadCMake-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/libstatic/libstatic.cpp')
-rw-r--r--Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp97
1 files changed, 97 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp b/Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp
new file mode 100644
index 0000000..89381af
--- /dev/null
+++ b/Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp
@@ -0,0 +1,97 @@
+
+#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;
+}