aboutsummaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-11-14 23:17:40 +0100
committerVincent Richard <[email protected]>2013-11-14 23:17:40 +0100
commit5915ca4e34d2192cb3ef06c8f47aaa4b16cf7f53 (patch)
treedf93293cf51e856abb91d8391cea9242362cefd7 /SConstruct
parentAdded missing export specifiers. (diff)
downloadvmime-5915ca4e34d2192cb3ef06c8f47aaa4b16cf7f53.tar.gz
vmime-5915ca4e34d2192cb3ef06c8f47aaa4b16cf7f53.zip
Custom fetch attributes.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 9874e19a..2da57e1f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -203,6 +203,7 @@ libvmime_messaging_sources = [
'net/connectionInfos.hpp',
'net/defaultConnectionInfos.cpp', 'net/defaultConnectionInfos.hpp',
'net/events.cpp', 'net/events.hpp',
+ 'net/fetchAttributes.cpp', 'net/fetchAttributes.hpp',
'net/folder.cpp', 'net/folder.hpp',
'net/folderStatus.hpp',
'net/message.cpp', 'net/message.hpp',
@@ -828,6 +829,12 @@ export_hpp = open('vmime/export-static.hpp', 'w')
export_hpp.write("""
#define VMIME_EXPORT
#define VMIME_NO_EXPORT
+
+#ifndef VMIME_DEPRECATED
+# define VMIME_DEPRECATED __attribute__ ((__deprecated__))
+# define VMIME_DEPRECATED_EXPORT VMIME_EXPORT __attribute__ ((__deprecated__))
+# define VMIME_DEPRECATED_NO_EXPORT VMIME_NO_EXPORT __attribute__ ((__deprecated__))
+#endif
""")
export_hpp.close()