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})
|
|
|
|
|
|
|
|
get_target_property(eobj_LIB_FILE eobj LOCATION)
|
|
|
|
target_link_libraries(function_overrides
|
|
|
|
${EINA_LIBRARIES}
|
2012-04-23 01:09:49 -07:00
|
|
|
${EINA_LDFLAGS_OTHER}
|
2012-04-12 01:27:38 -07:00
|
|
|
${eobj_LIB_FILE}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(function_overrides eobj)
|
|
|
|
|
|
|
|
add_test(Example_function_overrides function_overrides)
|