summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-21 13:27:17 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commit2a5c2a0c3cc245567b6b0854648732099dc878b9 (patch)
tree3e3bba7d98ce8e905a89e1df597ded8e14b5a6e5 /src/lib/efl
parent9f2a2f7968c0b7e036093945cdc035427b681809 (diff)
cmake: improve versioning
The version defines are now done all the time. and the version pattern does mach the one from autotools. And supports release mode now.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/Efl_Config.h.cmake6
-rw-r--r--src/lib/efl/config.h.cmake8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/efl/Efl_Config.h.cmake b/src/lib/efl/Efl_Config.h.cmake
index 3b356f06ca..e1c199ce80 100644
--- a/src/lib/efl/Efl_Config.h.cmake
+++ b/src/lib/efl/Efl_Config.h.cmake
@@ -15,7 +15,7 @@
15 and require an explicit request to get it. */ 15 and require an explicit request to get it. */
16#endif 16#endif
17 17
18#cmakedefine EFL_VERSION_MAJOR @EFL_VERSION_MAJOR@ 18#define EFL_VERSION_MAJOR @EFL_VERSION_MAJOR@
19#cmakedefine EFL_VERSION_MINOR @EFL_VERSION_MINOR@ 19#define EFL_VERSION_MINOR @EFL_VERSION_MINOR@
20#cmakedefine EFL_BUILD_ID "@EFL_BUILD_ID@" 20#define EFL_BUILD_ID "@EFL_BUILD_ID@"
21#endif 21#endif
diff --git a/src/lib/efl/config.h.cmake b/src/lib/efl/config.h.cmake
index 91fc12c563..3a1e6a3b4b 100644
--- a/src/lib/efl/config.h.cmake
+++ b/src/lib/efl/config.h.cmake
@@ -4,10 +4,10 @@
4#define _GNU_SOURCE 4#define _GNU_SOURCE
5#cmakedefine HAVE_SYS_MMAN_H 1 5#cmakedefine HAVE_SYS_MMAN_H 1
6 6
7#cmakedefine VMAJ @VMAJ@ 7#define VMAJ @VMAJ@
8#cmakedefine VMIN @VMIN@ 8#define VMIN @VMIN@
9#cmakedefine VMIC @VMIC@ 9#define VMIC @VMIC@
10#cmakedefine VREV @VREV@ 10#define VREV @VREV@
11 11
12#cmakedefine NVALGRIND 1 12#cmakedefine NVALGRIND 1
13#cmakedefine HAVE_CLOCK_GETTIME 1 13#cmakedefine HAVE_CLOCK_GETTIME 1