summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-12-20 11:45:44 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-12-20 11:48:44 +0100
commitb228d2aae87954418cb0a98777a2e73c7e5e83c6 (patch)
treefc714e82cb11ade2b78bd49223c80aa5cf399b7f /conf.d/cmake
parent3dbb28794e59dd8b6d885edbc290e62e4889f272 (diff)
Use latest version of app-templates submodule.
Changes of app-templates: (1613c94 - Matt Ranostay) cmake: coverage: disable compiler optimization for COVERAGE build (d639f42 - Thierry Bultel) common.cmake: fixed erroneous search path for os-release (fbccebe - Romain Forlot) Fix: missing gcov symbol in compiled binaries (051f84f - Jan-Simon Möller) Add gitreview file for flounder branch (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var Change-Id: I6ac708f96fe7baef46b0b4f93539fcf8ed65a023 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake8
1 files changed, 1 insertions, 7 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 00b8141..4ff2fe5 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -38,13 +38,7 @@ set(PROJECT_SRC_DIR_PATTERN "[^_]*")
# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
# Set a default build type if none was specified
-set(default_build_type "Debug")
-if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
- set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
- # Set the possible values of build type for cmake-gui
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
-endif()
+set(BUILD_TYPE "Debug")
# Alsa does not really like libEfence
set(USE_EFENCE 0)