zephyr/tests/bluetooth/init
Sebastian Bøe 55ee53ce91 cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts
Prepend the text 'cmake_minimum_required(VERSION 3.8.2)' into the
application and test build scripts.

Modern versions of CMake will spam users with a deprecation warning
when the toplevel CMakeLists.txt does not specify a CMake
version. This is documented in bug #8355.

To resolve this we include a cmake_minimum_required() line into the
toplevel build scripts. Additionally, cmake_minimum_required is
invoked from within boilerplate.cmake. The highest version will be
enforced.

This patch allows us to afterwards change CMake policy CMP000 from OLD
to NEW which in turn finally rids us of the verbose warning.

The extra boilerplate is considered more acceptable than the verbosity
of the CMP0000 policy.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-08-15 04:06:50 -07:00
..
src
CMakeLists.txt cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
prj.conf
prj_0.conf
prj_1.conf
prj_2.conf
prj_3.conf
prj_4.conf
prj_5.conf
prj_6.conf
prj_7.conf
prj_8.conf
prj_9.conf
prj_10.conf
prj_11.conf
prj_12.conf
prj_13.conf
prj_14.conf
prj_15.conf
prj_16.conf
prj_17.conf
prj_18.conf
prj_19.conf
prj_20.conf
prj_21.conf
prj_22.conf
prj_controller.conf
prj_controller_4_0.conf
prj_controller_dbg.conf bluetooth: disable user mode for one test 2018-05-22 15:59:07 -07:00
prj_controller_tiny.conf
prj_h5.conf
prj_h5_dbg.conf
testcase.yaml