diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-23 15:26:38 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-31 16:54:24 +0100 |
commit | df68cd9163cc7a6e9196b774bed2aa7aea4c3516 (patch) | |
tree | b6b201f7724d3eb3d64ebf1a84ad38820ac0839a /conf.d/cmake | |
parent | 127f4fbe0ee9aced18844ffd2d238e277aadcc7d (diff) |
Migrate app-templates to CMake moduleicefish_8.99.1icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut_7.90.0halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.1halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.18.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.17.90.06.99.46.99.36.99.26.99.1halibut
Bug-AGL SPEC-1682
Change-Id: Id339de43e778d0d2ba478f98541c8330f8d0b1be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r-- | conf.d/cmake/config.cmake | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 3f1c8f7..8693cf2 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -18,20 +18,21 @@ # Project Info # ------------------ -set(PROJECT_NAME helloworld-service) +set(PROJECT_NAME agl-service-speech) set(PROJECT_VERSION "1.0") -set(PROJECT_PRETTY_NAME "Helloworld for AGL") -set(PROJECT_DESCRIPTION "Provide an AGL Helloworld Binding") -set(PROJECT_URL "https://github.com/iotbzh/helloworld-service") +set(PROJECT_PRETTY_NAME "AGL service speech binding") +set(PROJECT_DESCRIPTION "Provide an AGL speech Binding") +set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/p/apps/agl-service-speech.git") set(PROJECT_ICON "icon.png") set(PROJECT_AUTHOR "Iot-Team") set(PROJECT_AUTHOR_MAIL "secretaria@iot.bzh") set(PROJECT_LICENSE "APL2.0") set(PROJECT_LANGUAGES,"C") +set(API_NAME "agl-speech") -# Where are stored default templates files from submodule or subtree app-templates in your project tree +# Where are stored the project configuration files # relative to the root project directory -set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") +set(PROJECT_CMAKE_CONF_DIR "conf.d") # Where are stored your external libraries for your project. This is 3rd party library that you don't maintain # but used and must be built and linked. @@ -45,7 +46,7 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") # Compilation Mode (DEBUG, RELEASE) # ---------------------------------- -set(CMAKE_BUILD_TYPE "DEBUG") +set(BUILD_TYPE "RELEASE") # Kernel selection if needed. You can choose between a # mandatory version to impose a minimal version. @@ -97,8 +98,8 @@ set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install #set(C_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C language.") #set(CXX_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C++ language.") #set(PROFILING_COMPILE_OPTIONS "-g" "-O0" "-pg" "-Wp,-U_FORTIFY_SOURCE" CACHE STRING "Compilation flags for PROFILING build type.") -#set(DEBUG_COMPILE_OPTIONS "-g" "-ggdb" "-Wp,-U_FORTIFY_SOURCE" CACHE STRING "Compilation flags for DEBUG build type.") -#set(CCOV_COMPILE_OPTIONS "-g" "-O2" "--coverage" CACHE STRING "Compilation flags for CCOV build type.") +#set(DEBUG_COMPILE_OPTIONS "-g" "-O0" "-ggdb" CACHE STRING "Compilation flags for DEBUG build type.") +#set(COVERAGE_COMPILE_OPTIONS "-g" "-O0" "--coverage" CACHE STRING "Compilation flags for COVERAGE build type.") #set(RELEASE_COMPILE_OPTIONS "-g" "-O2" CACHE STRING "Compilation flags for RELEASE build type.") # Print a helper message when every thing is finished @@ -108,7 +109,7 @@ set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- -set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) +set(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) @@ -180,5 +181,8 @@ set(WIDGET_ENTRY_POINT config.xml) # This include is mandatory and MUST happens at the end # of this file, else you expose you to unexpected behavior +# +# This CMake module could be found at the following url: +# https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module # ----------------------------------------------------------- -include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake) +include(CMakeAfbTemplates) |