[tepl] tepl/meson.build: Use _TEPL_EXTERN in enumeration sources
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] tepl/meson.build: Use _TEPL_EXTERN in enumeration sources
- Date: Thu, 30 Apr 2020 12:23:40 +0000 (UTC)
commit f5f043f50650748480bfce469cc87cf02a0f5c59
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Apr 28 16:59:40 2020 +0800
tepl/meson.build: Use _TEPL_EXTERN in enumeration sources
Use the 'header_prefix' and 'decorator' arguments to gnome.mkenums_simple()
so that we can use glib-mkenums to generate tepl-enum-types.h that
includes tepl-macros.h and have the symbols marked with _TEPL_EXTERN.
tepl/meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/tepl/meson.build b/tepl/meson.build
index 24deae4..b3ec033 100644
--- a/tepl/meson.build
+++ b/tepl/meson.build
@@ -97,6 +97,8 @@ install_headers(
tepl_enum_types = GNOME.mkenums_simple(
'tepl-enum-types',
+ decorator: '_TEPL_EXTERN',
+ header_prefix: '#include <tepl/tepl-macros.h>',
sources: tepl_public_headers,
install_header: true,
install_dir: headers_install_dir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]