summaryrefslogtreecommitdiffstats
path: root/ecmake/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-04-13 23:03:55 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-04-13 23:03:55 +0200
commit23929ded8ba244359e871e1d02ee1d05d060ea71 (patch)
tree0d22b1481f2259376ab3aa4d48f746ad76d8a3e5 /ecmake/lib/CMakeLists.txt
parent3c54b36fa04a7c54bb685705397ce3eac707f956 (diff)
downloadskeletons-23929ded8ba244359e871e1d02ee1d05d060ea71.zip
skeletons-23929ded8ba244359e871e1d02ee1d05d060ea71.tar.gz
add ecmake, thanks a lot to eobj guys
Diffstat (limited to 'ecmake/lib/CMakeLists.txt')
-rw-r--r--ecmake/lib/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ecmake/lib/CMakeLists.txt b/ecmake/lib/CMakeLists.txt
new file mode 100644
index 0000000..6539c55
--- /dev/null
+++ b/ecmake/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")