verifying notification category privilege
[platform/core/appfw/wgt-backend.git] / src / wgt / CMakeLists.txt
1 # Target - sources
2 SET(SRCS
3   step/configuration/step_parse.cc
4   step/configuration/step_parse_recovery.cc
5   step/encryption/step_encrypt_resources.cc
6   step/encryption/step_remove_encryption_data.cc
7   step/filesystem/step_create_symbolic_link.cc
8   step/filesystem/step_wgt_patch_icons.cc
9   step/filesystem/step_wgt_patch_storage_directories.cc
10   step/filesystem/step_wgt_resource_directory.cc
11   step/pkgmgr/step_generate_xml.cc
12   step/rds/step_wgt_rds_modify.cc
13   step/security/step_add_default_privileges.cc
14   step/security/step_check_settings_level.cc
15   step/security/step_check_wgt_background_category.cc
16   step/security/step_check_wgt_notification_category.cc
17   wgt_app_query_interface.cc
18   wgt_installer.cc
19 )
20
21 IF(WRT_LAUNCHER)
22     ADD_DEFINITIONS("-DWRT_LAUNCHER=\"${WRT_LAUNCHER}\"")
23     MESSAGE( "WRT LAUNCHER binary path is  set to ${WRT_LAUNCHER}")
24 ELSE(WRT_LAUNCHER)
25     MESSAGE(FATAL_ERROR, "WRT LAUNCHER binary path is not set")
26 ENDIF(WRT_LAUNCHER)
27
28 # Target - definition
29 ADD_LIBRARY(${TARGET_LIBNAME_WGT} STATIC ${SRCS})
30 # Target - includes
31 TARGET_INCLUDE_DIRECTORIES(${TARGET_LIBNAME_WGT} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../")
32 # Target - deps
33 APPLY_PKG_CONFIG(${TARGET_LIBNAME_WGT} PUBLIC
34   APP_INSTALLERS_DEPS
35   WGT_MANIFEST_HANDLERS_DEPS
36   MANIFEST_PARSER_DEPS
37   PKGMGR_INSTALLER_DEPS
38   ENCRYPTION_DEPS
39   Boost
40 )