summaryrefslogtreecommitdiffstats
path: root/cmake-e/lib/CMakeLists.txt
diff options
context:
space:
mode:
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")