X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=reference%2Fetc%2Fconfig.cmake;h=2520153b95dde786fe662073c65c7305668184c7;hb=fa6689f9545d33b7d170bffbef67807e8b594e53;hp=c35e2fdf27873ab63c4a6c74e6c15c93d685a761;hpb=e596d761c57a4743e0e0e33bed1ca67a3c3f0d82;p=apps%2Fapp-templates.git diff --git a/reference/etc/config.cmake b/reference/etc/config.cmake index c35e2fd..2520153 100644 --- a/reference/etc/config.cmake +++ b/reference/etc/config.cmake @@ -18,7 +18,7 @@ # Project Info # ------------------ -set(NAME example) +set(PROJECT_NAME example) set(VERSION "0.0") set(PROJECT_PRETTY_NAME "Example") set(PROJECT_DESCRIPTION "AGL application example") @@ -27,6 +27,7 @@ set(PROJECT_ICON "icon.png") set(PROJECT_AUTHOR "Last Name, First Name") set(PROJECT_AUTHOR_MAIL "example.man@bigouden.bzh") set(PROJECT_LICENCE "APL2.0") +set(PROJECT_LANGUAGES,"C") # Where are stored config.xml.in and icon.png.in files. Template available at : # https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/app-templates @@ -43,10 +44,9 @@ set(PROJECT_LICENCE "APL2.0") # ---------------------------------- set(CMAKE_BUILD_TYPE "DEBUG") -# Compiler selection if needed. Overload the detected compiler. +# Compiler selection if needed. Impose a minimal version. # ----------------------------------------------- -#set(CMAKE_C_COMPILER "gcc") -#set(CMAKE_CXX_COMPILER "g++") +set (gcc_minimal_version 4.9) # PKG_CONFIG required packages # ----------------------------- @@ -67,7 +67,7 @@ set(CMAKE_CXX_FLAGS "") # Print a helper message when every thing is finished # ---------------------------------------------------- #set(CLOSING_MESSAGE "") - +#set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- @@ -110,6 +110,7 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) # - application/vnd.agl.service # - application/vnd.agl.native # - text/vnd.qt.qml +# - text/html # - application/vnd.agl.qml # - application/vnd.agl.qml.hybrid # - application/vnd.agl.html.hybrid