summaryrefslogtreecommitdiff
path: root/cairommconfig.h.meson
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-04-23 14:59:30 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-04-25 09:52:30 +0200
commitcb98a5313a4841a9da943b87f94beca5ca32578a (patch)
treeef6cab9768cd29bf9935d54fe99b9b547360fe43 /cairommconfig.h.meson
parent715d9dd9b715cd3d367fe3a1fb3ce6c79941ecb8 (diff)
Add support for building cairomm with Meson
cairomm can be built with either Autotools or Meson. Fixes #20
Diffstat (limited to 'cairommconfig.h.meson')
-rw-r--r--cairommconfig.h.meson21
1 files changed, 21 insertions, 0 deletions
diff --git a/cairommconfig.h.meson b/cairommconfig.h.meson
new file mode 100644
index 0000000..8923c96
--- /dev/null
+++ b/cairommconfig.h.meson
@@ -0,0 +1,21 @@
+#ifndef _CAIROMM_CONFIG_H
+#define _CAIROMM_CONFIG_H
+
+/* This file is part of cairomm. */
+
+/* Define to omit deprecated API from the library. */
+#mesondefine CAIROMM_DISABLE_DEPRECATED
+
+/* Defined when the -Dbuild-exceptions-api=true configure argument was given */
+#mesondefine CAIROMM_EXCEPTIONS_ENABLED
+
+/* Major version number of cairomm. */
+#mesondefine CAIROMM_MAJOR_VERSION
+
+/* Minor version number of cairomm. */
+#mesondefine CAIROMM_MINOR_VERSION
+
+/* Micro version number of cairomm. */
+#mesondefine CAIROMM_MICRO_VERSION
+
+#endif /* _CAIROMM_CONFIG_H */