efl/legacy/eobj/src/examples/simple/CMakeLists.txt

24 lines
407 B
CMake

LIST(APPEND SIMPLE_CC_SOURCES
main.c
simple.c
interface.c
mixin.c
)
include_directories(
${EINA_INCLUDE_DIRS}
${EVAS_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/src/lib
)
add_executable(simple ${SIMPLE_CC_SOURCES})
get_target_property(eo_LIB_FILE eo LOCATION)
target_link_libraries(simple
${EINA_LIBRARIES}
${EINA_LDFLAGS_OTHER}
${eo_LIB_FILE}
)
add_dependencies(simple eo)