summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-19 09:16:36 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commit88283204c16c745e3aec11bff2409bd5cc903121 (patch)
tree0e9177d2dc85eb8ba5b75204a9569c75b219ba72 /CMakeLists.txt
parentc1c30cc6ce435021084f30567fa6ec9cd939e0b5 (diff)
build: switch eina to half baked cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..12dd0a8
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,19 @@
1cmake_minimum_required(VERSION 3.7)
2project(eflgeneric)
3
4ADD_DEFINITIONS("-DHAVE_CONFIG_H")
5
6add_subdirectory(src)
7
8CHECK_INCLUDE_FILE(sys/mman.h HAVE_SYS_MMAN_H)
9
10set(PROJECT_VERSION_MAJOR 1)
11set(PROJECT_VERSION_MINOR 19)
12set(PROJECT_VERSION_PATCH 99)
13set(PROJECT_VERSION_TWEAK 00)
14
15set(VMAJ ${PROJECT_VERSION_MAJOR})
16set(VMIN ${PROJECT_VERSION_MINOR})
17set(VMIC ${PROJECT_VERSION_PATCH})
18set(VREV ${PROJECT_VERSION_TWEAK})
19configure_file(config.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/config.h)