blob: 0cd5335acb538a7aaafdaf827f135a542b850fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
ADD_CUSTOM_TARGET(${TARGET_EDJ}
COMMAND edje_cc -id images
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.edc
${CMAKE_CURRENT_BINARY_DIR}/${TARGET_EDJ}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.edc
)
ADD_DEPENDENCIES(${PROJECT_NAME} ${TARGET_EDJ})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_EDJ} DESTINATION ${EDJEDIR})
ADD_CUSTOM_TARGET(${THEME_EDJ}
COMMAND edje_cc -id images
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-theme.edc
${CMAKE_CURRENT_BINARY_DIR}/${THEME_EDJ}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-theme.edc
)
ADD_DEPENDENCIES(${PROJECT_NAME} ${THEME_EDJ})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${THEME_EDJ} DESTINATION ${EDJEDIR})
|