summaryrefslogtreecommitdiffstats
path: root/cmake-e/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-04-16 09:44:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-04-16 09:44:09 +0200
commitc8e52cf46a6f64dbbccbce2b705ab6bbed8905ae (patch)
treeb1b54ce532d2e61e1f26de8f1b05bad41313f56c /cmake-e/lib/CMakeLists.txt
parentbe86ef338359ae09a38e8b87694350ef6ac84ff8 (diff)
downloadskeletons-c8e52cf46a6f64dbbccbce2b705ab6bbed8905ae.zip
skeletons-c8e52cf46a6f64dbbccbce2b705ab6bbed8905ae.tar.gz
ecmake -> cmake-e
Diffstat (limited to 'cmake-e/lib/CMakeLists.txt')
-rw-r--r--cmake-e/lib/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake-e/lib/CMakeLists.txt b/cmake-e/lib/CMakeLists.txt
new file mode 100644
index 0000000..6539c55
--- /dev/null
+++ b/cmake-e/lib/CMakeLists.txt
@@ -0,0 +1,19 @@
+LIST(APPEND ECMAKE_CC_SOURCES
+ ecmake.c
+ )
+
+include_directories(
+ ${ELEMENTARY_INCLUDE_DIRS}
+ )
+
+add_library(ecmake SHARED ${ECMAKE_CC_SOURCES})
+target_link_libraries(ecmake
+ ${ELEMENTARY_LIBRARIES}
+ ${EFL_COVERAGE_LIBS}
+ )
+
+set_target_properties(ecmake PROPERTIES
+ COMPILE_FLAGS "${EFL_COVERAGE_CFLAGS}")
+set_target_properties(ecmake PROPERTIES
+ VERSION ${ECMAKE_VERSION} SOVERSION ${ECMAKE_VERSION_MAJOR})
+set_target_properties(ecmake PROPERTIES OUTPUT_NAME "ecmake")