From 5915ca4e34d2192cb3ef06c8f47aaa4b16cf7f53 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 14 Nov 2013 23:17:40 +0100 Subject: Custom fetch attributes. --- SConstruct | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'SConstruct') 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() -- cgit