summaryrefslogtreecommitdiff
path: root/src/lib/efl/config.h.cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-19 17:54:12 -0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commitdee24c3821ffbc14721dbfb041ac6cc010b9269b (patch)
tree5c5f76c74b665d4a3c7905d6f7519e480ebeaa0f /src/lib/efl/config.h.cmake
parent88283204c16c745e3aec11bff2409bd5cc903121 (diff)
CMake: rework to use some helper macros.
This tries to defines some macros to create a cleaner build system.
Diffstat (limited to 'src/lib/efl/config.h.cmake')
-rw-r--r--src/lib/efl/config.h.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/efl/config.h.cmake b/src/lib/efl/config.h.cmake
new file mode 100644
index 0000000000..4cd524ab1c
--- /dev/null
+++ b/src/lib/efl/config.h.cmake
@@ -0,0 +1,19 @@
1#ifndef CONFIG_H
2#define CONFIG_H
3
4#define _GNU_SOURCE
5#cmakedefine HAVE_SYS_MMAN_H 1
6
7#cmakedefine VMAJ @VMAJ@
8#cmakedefine VMIN @VMIN@
9#cmakedefine VMIC @VMIC@
10#cmakedefine VREV @VREV@
11
12#cmakedefine NVALGRIND 1
13#cmakedefine HAVE_CLOCK_GETTIME 1
14
15#define PACKAGE_LIB_DIR "bla"
16#define MODULE_ARCH "bla"
17#define SHARED_LIB_SUFFIX "bla"
18
19#endif