summaryrefslogtreecommitdiffstats
path: root/Tests/Module
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-10 22:18:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-10 22:18:33 (GMT)
commit3f7e03643d5437ec494956f2678c7b3c905d8250 (patch)
tree423399462ed145a03eeb5e0e0aad41a6231ee5a3 /Tests/Module
parent7fa559232e6bca09c0f24c0a3da2a83a5c395be3 (diff)
downloadCMake-3f7e03643d5437ec494956f2678c7b3c905d8250.zip
CMake-3f7e03643d5437ec494956f2678c7b3c905d8250.tar.gz
CMake-3f7e03643d5437ec494956f2678c7b3c905d8250.tar.bz2
Export deprecated free methods too.
That way they can be linked to even after being deprecated.
Diffstat (limited to 'Tests/Module')
-rw-r--r--Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h2
-rw-r--r--Tests/Module/GenerateExportHeader/libstatic/libstatic.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
index 7df7694..400d664 100644
--- a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
+++ b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
@@ -49,7 +49,7 @@ public:
LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
-LIBSHARED_AND_STATIC_DEPRECATED int libshared_and_static_deprecated();
+LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated();
int libshared_and_static_not_exported();
diff --git a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
index c6562ec..cd68cdc 100644
--- a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
+++ b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
@@ -45,7 +45,7 @@ public:
LIBSTATIC_EXPORT int libstatic_exported();
-LIBSTATIC_DEPRECATED int libstatic_deprecated();
+LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated();
int libstatic_not_exported();