2012-04-12 01:27:38 -07:00
|
|
|
LIST(APPEND FUNCTION_OVERRIDES_CC_SOURCES
|
|
|
|
main.c
|
|
|
|
simple.c
|
|
|
|
inherit.c
|
|
|
|
inherit2.c
|
|
|
|
inherit3.c
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${EINA_INCLUDE_DIRS}
|
|
|
|
${EVAS_INCLUDE_DIRS}
|
|
|
|
${CMAKE_SOURCE_DIR}/lib
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(function_overrides ${FUNCTION_OVERRIDES_CC_SOURCES})
|
|
|
|
|
2012-05-01 00:40:14 -07:00
|
|
|
get_target_property(eo_LIB_FILE eo LOCATION)
|
2012-04-12 01:27:38 -07:00
|
|
|
target_link_libraries(function_overrides
|
|
|
|
${EINA_LIBRARIES}
|
2012-04-23 01:09:49 -07:00
|
|
|
${EINA_LDFLAGS_OTHER}
|
2012-05-01 00:40:14 -07:00
|
|
|
${eo_LIB_FILE}
|
2012-04-12 01:27:38 -07:00
|
|
|
)
|
|
|
|
|
2012-05-01 00:40:14 -07:00
|
|
|
add_dependencies(function_overrides eo)
|
2012-04-12 01:27:38 -07:00
|
|
|
|
|
|
|
add_test(Example_function_overrides function_overrides)
|