X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=reference%2Fetc%2Fconfig.cmake;h=2520153b95dde786fe662073c65c7305668184c7;hb=refs%2Ftags%2F3.99.1;hp=6566ed56dbfdeb13bb181da0a0a63a6a6664651f;hpb=5a87b82700a736e7c443023399da3d2a31098895;p=staging%2Fxdg-launcher.git diff --git a/reference/etc/config.cmake b/reference/etc/config.cmake index 6566ed5..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,11 +67,11 @@ 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] # --------------------------------------------------------------------- -set(CMAKE_INSTALL_PREFIX ${HOME}/opt) +set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) @@ -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