Eo: Fixed an issue with mixins and super calls.
[profile/ivi/eobj.git] / src / tests / mixin / CMakeLists.txt
1 LIST(APPEND MIXIN_CC_SOURCES
2    main.c
3    simple.c
4    inherit.c
5    mixin.c
6    mixin2.c
7    mixin3.c
8    mixin4.c
9    )
10
11 include_directories(
12    ${EINA_INCLUDE_DIRS}
13    ${EVAS_INCLUDE_DIRS}
14    ${CMAKE_SOURCE_DIR}/src/lib
15    )
16
17 add_executable(mixin ${MIXIN_CC_SOURCES})
18
19 get_target_property(eo_LIB_FILE eo LOCATION)
20 target_link_libraries(mixin
21    ${EINA_LIBRARIES}
22    ${EINA_LDFLAGS_OTHER}
23    ${eo_LIB_FILE}
24    )
25
26 add_dependencies(mixin eo)
27 add_dependencies(check mixin)
28
29 add_test(Test_mixin mixin)