Platform specific resource locations for dali demos
[platform/core/uifw/dali-demo.git] / build / tizen / demo / CMakeLists.txt
1 SET(DEMO_SRC_DIR ${ROOT_SRC_DIR}/demo)
2
3 AUX_SOURCE_DIRECTORY(${DEMO_SRC_DIR} DEMO_SRCS)
4
5
6 IF(NOT DEFINED DALI_APP_RES_DIR)
7   message([STATUS] "Setting application resource path from resource-location file")
8   SET( DEMO_SRCS ${DEMO_SRCS} "${ROOT_SRC_DIR}/shared/resources-location.cpp")
9 ENDIF()
10
11 ADD_EXECUTABLE(${PROJECT_NAME} ${DEMO_SRCS})
12 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${REQUIRED_PKGS_LDFLAGS} -pie)
13
14 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
15