Release version 0.7.18
[platform/core/api/notification.git] / CMakeLists.txt
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
2
3 ADD_SUBDIRECTORY(notification)
4 ADD_SUBDIRECTORY(notification-ex)
5 ADD_SUBDIRECTORY(tests)
6
7 ENABLE_TESTING()
8
9 SET(NOTIFICATION_UNIT_TESTS notification-unittests)
10 ADD_TEST(NAME ${NOTIFICATION_UNIT_TESTS} COMMAND ${NOTIFICATION_UNIT_TESTS})
11 ADD_DEPENDENCIES(${NOTIFICATION_UNIT_TESTS} notification)
12
13 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/505.notification_upgrade.sh.in 505.notification_upgrade.sh @ONLY)
14 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/505.notification_upgrade.sh DESTINATION /usr/share/upgrade/scripts/)
15
16 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/505.notification_upgrade.sh.in upgrade.sh @ONLY)
17 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/upgrade.sh DESTINATION /etc/notification/)