Fix: Project name not set.
[apps/app-templates.git] / reference / etc / config.cmake
index c35e2fd..2520153 100644 (file)
@@ -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