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