1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#ifndef ${target_id}_TEMPLATE_API_H
#define ${target_id}_TEMPLATE_API_H
#include <${target}/${target}_export.h>
#ifdef ${target_id}_STATIC_DEFINE
# define ${target_id}_TEMPLATE_API
#else
# ifndef ${target_id}_TEMPLATE_API
# ifdef ${target_id}_EXPORTS
/* We are building this library */
# define ${target_id}_TEMPLATE_API __attribute__((visibility("default")))
# else
/* We are using this library */
# define ${target_id}_TEMPLATE_API __attribute__((visibility("default")))
# endif
# endif
#endif
#endif
|