Add defaultbranch
[src/app-framework-main.git] / CMakeLists.txt
index e8c98b4..0b643c8 100644 (file)
@@ -28,17 +28,22 @@ macro(setc name value)
        endif(NOT DEFINED ${name})
 endmacro(setc)
 
+SET(PROJECT_NAME "AFM Main")
+SET(PROJECT_PRETTY_NAME "Application Framework Main")
+SET(PROJECT_DESCRIPTION "Secured Application framework")
+SET(PROJECT_VERSION "1.0")
+
 setc(USE_LIBZIP 1)
 setc(USE_SIMULATION 1)
+setc(USE_SDK 0)
 
-setc(afm_name                "aglfwk")
+setc(afm_name                "afm")
 setc(afm_confdir             "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}")
 setc(afm_datadir             "${CMAKE_INSTALL_FULL_DATADIR}/${afm_name}")
 setc(afm_appdir              "${afm_datadir}/applications")
 setc(afm_icondir             "${afm_datadir}/icons")
-setc(afm_prefix              "urn:agl:")
-setc(afm_prefix_permission   "${afm_prefix}perm:")
-setc(afm_prefix_plugin       "${afm_prefix}plugin:")
+setc(afm_prefix              "urn:AGL:")
+setc(afm_prefix_binding      "${afm_prefix}binding:")
 setc(afm_user_appdir         "app-data")
 setc(wgtpkg_trusted_cert_dir "${afm_confdir}/certs")
 
@@ -47,14 +52,17 @@ macro(defstr name value)
 endmacro(defstr)
 
 defstr(FWK_CONFIG_DIR          "${afm_confdir}")
-defstr(FWK_PREFIX_PERMISSION   "${afm_prefix_permission}")
-defstr(FWK_PREFIX_PLUGIN       "${afm_prefix_plugin}")
+defstr(FWK_PREFIX              "${afm_prefix}")
+defstr(FWK_PREFIX_BINDING      "${afm_prefix_binding}")
 defstr(FWK_ICON_DIR            "${afm_icondir}")
 defstr(FWK_APP_DIR             "${afm_appdir}")
 defstr(FWK_USER_APP_DIR        "${afm_user_appdir}")
 defstr(WGTPKG_TRUSTED_CERT_DIR "${wgtpkg_trusted_cert_dir}")
+defstr(FWK_LAUNCH_CONF         "${afm_confdir}/afm-launch.conf")
 
 add_subdirectory(src)
 add_subdirectory(conf)
+add_subdirectory(scripts)
+add_subdirectory(certs)