summaryrefslogtreecommitdiffstats
path: root/cmake-e/lib/CMakeLists.txt
blob: 6539c55c30894d15f322cf90cdd46aaea919e3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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")