summaryrefslogtreecommitdiff
path: root/legacy/eobj/src/tests/mixin/CMakeLists.txt
blob: 557a3e6af31b5adacc8a14ae896929113b81d6f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
LIST(APPEND MIXIN_CC_SOURCES
   main.c
   simple.c
   inherit.c
   mixin.c
   mixin2.c
   mixin3.c
   mixin4.c
   )

include_directories(
   ${EINA_INCLUDE_DIRS}
   ${EVAS_INCLUDE_DIRS}
   ${CMAKE_SOURCE_DIR}/src/lib
   )

add_executable(mixin ${MIXIN_CC_SOURCES})

get_target_property(eo_LIB_FILE eo LOCATION)
target_link_libraries(mixin
   ${EINA_LIBRARIES}
   ${EINA_LDFLAGS_OTHER}
   ${eo_LIB_FILE}
   )

add_dependencies(mixin eo)
add_dependencies(check mixin)

add_test(Test_mixin mixin)