summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2015-12-19 16:49:27 +0200
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2015-12-19 17:09:23 +0200
commit8d5ced3a60a9da551c1cc05dd856b3b507c2de53 (patch)
tree4e67d29832db5060c08a3f284fca4a9d46ab0f2e
parent8b39cc1c8673b0673e3b5e902cf4c0b8625affa6 (diff)
Add cmake support
-rw-r--r--CMakeLists.txt9
-rw-r--r--src/bin/CMakeLists.txt19
2 files changed, 28 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..4b8866d
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,9 @@
1cmake_minimum_required(VERSION 2.8.1)
2
3project(EDBG_CHECKER)
4
5find_package(Eina REQUIRED)
6find_package(Eet REQUIRED)
7find_package(Edebug REQUIRED)
8
9add_subdirectory(src/bin)
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
new file mode 100644
index 0000000..776f7af
--- /dev/null
+++ b/src/bin/CMakeLists.txt
@@ -0,0 +1,19 @@
1set(CMAKE_BUILD_TYPE Debug)
2
3LIST(APPEND SOURCES edbg_checker.c)
4
5include_directories(
6 ${EINA_INCLUDE_DIRS}
7 ${EET_INCLUDE_DIRS}
8 ${EDEBUG_INCLUDE_DIRS}
9 )
10
11add_executable(edbg_checker ${SOURCES})
12
13target_link_libraries(edbg_checker
14 ${EINA_LIBRARIES}
15 ${EET_LIBRARIES}
16 ${EDEBUG_LIBRARIES}
17 )
18
19install(TARGETS edbg_checker DESTINATION bin)