CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
- SET(target "ctx-device")
- SET(definitions LOG_TAG=\"CONTEXT-DEVICE\")
+ # prvd_cdef, prvd_deps, and prvd_srcs need to be set properly
# Common Profile
- FILE(GLOB srcs ./*.cpp)
- SET(deps "vconf capi-system-info capi-system-device capi-system-runtime-info")
+ FILE(GLOB prvd_srcs ./*.cpp system/alarm.cpp system/time.cpp)
+ SET(prvd_deps vconf capi-system-info capi-system-device capi-system-runtime-info)
+# Common Profile
+SET(srcs ${srcs} system/alarm.cpp system/time.cpp)
+
# Mobile Profile
IF("${PROFILE}" STREQUAL "mobile")
- SET(deps "${deps} capi-network-bluetooth capi-network-wifi")
- SET(deps "${deps} capi-telephony tapi msg-service capi-messaging-email motion")
- FILE(GLOB_RECURSE srcs ${srcs} activity/*.cpp)
- FILE(GLOB_RECURSE srcs ${srcs} system/*.cpp)
- FILE(GLOB_RECURSE srcs ${srcs} social/*.cpp)
+ SET(prvd_deps ${prvd_deps} capi-network-bluetooth capi-network-wifi)
+ SET(prvd_deps ${prvd_deps} capi-telephony tapi msg-service capi-messaging-email motion)
+ FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} activity/*.cpp)
+ FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} system/*.cpp)
+ FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} social/*.cpp)
ENDIF("${PROFILE}" STREQUAL "mobile")
# Wearable Profile