summaryrefslogtreecommitdiffstats
path: root/Tests/Module/GenerateExportHeader/libshared/libshared.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-07-13 00:13:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-07 16:33:47 (GMT)
commit30880707c094ac5c0edd85d0857afb6fbae55326 (patch)
tree837b58ac331f34eeefaced63c4c0a71ee59ef69e /Tests/Module/GenerateExportHeader/libshared/libshared.cpp
parent955d5133ab2f8bca5372e81af544cafdafc31994 (diff)
downloadCMake-30880707c094ac5c0edd85d0857afb6fbae55326.zip
CMake-30880707c094ac5c0edd85d0857afb6fbae55326.tar.gz
CMake-30880707c094ac5c0edd85d0857afb6fbae55326.tar.bz2
Add the GenerateExportMacro with unit tests.
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
Diffstat (limited to 'Tests/Module/GenerateExportHeader/libshared/libshared.cpp')
-rw-r--r--Tests/Module/GenerateExportHeader/libshared/libshared.cpp91
1 files changed, 91 insertions, 0 deletions
diff --git a/Tests/Module/GenerateExportHeader/libshared/libshared.cpp b/Tests/Module/GenerateExportHeader/libshared/libshared.cpp
new file mode 100644
index 0000000..9812f55
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/libshared/libshared.cpp
@@ -0,0 +1,91 @@
+
+#include "libshared.h"
+
+int Libshared::libshared() const
+{
+ return 0;
+}
+
+int Libshared::libshared_exported() const
+{
+ return 0;
+}
+
+int Libshared::libshared_deprecated() const
+{
+ return 0;
+}
+
+int Libshared::libshared_not_exported() const {
+ return 0;
+}
+
+int Libshared::libshared_excluded() const {
+ return 0;
+}
+
+int LibsharedNotExported::libshared() const
+{
+ return 0;
+}
+
+int LibsharedNotExported::libshared_exported() const
+{
+ return 0;
+}
+
+int LibsharedNotExported::libshared_deprecated() const
+{
+ return 0;
+}
+
+int LibsharedNotExported::libshared_not_exported() const {
+ return 0;
+}
+
+int LibsharedNotExported::libshared_excluded() const {
+ return 0;
+}
+
+int LibsharedExcluded::libshared() const
+{
+ return 0;
+}
+
+int LibsharedExcluded::libshared_exported() const
+{
+ return 0;
+}
+
+int LibsharedExcluded::libshared_deprecated() const
+{
+ return 0;
+}
+
+int LibsharedExcluded::libshared_not_exported() const {
+ return 0;
+}
+
+int LibsharedExcluded::libshared_excluded() const {
+ return 0;
+}
+
+int libshared() {
+ return 0;
+}
+
+int libshared_exported() {
+ return 0;
+}
+
+int libshared_deprecated() {
+ return 0;
+}
+
+int libshared_not_exported() {
+ return 0;
+}
+
+int libshared_excluded() {
+ return 0;
+} \ No newline at end of file