samples, tests: Use semi-accurate project names

When using an IDE (e.g. Eclipse, Qt Creator), the project name gets
displayed. This greatly simplifies the navigation between projects when
having many of them open at the same time. Naming every project "NONE"
defeats this functionality.

This patch tries to use sensible project names while not duplicating
too much of what is already represented in the path. This is done by
using the name of the directory the relevant CMakeLists.txt file is
stored in. To ensure unique project names in the samples (and again, in
the tests folder) folder, small manual adjustments have been done.

Signed-off-by: Reto Schneider <code@reto-schneider.ch>
This commit is contained in:
Reto Schneider 2018-10-25 16:54:09 +02:00 committed by Anas Nashif
commit 7eabab2f5d
375 changed files with 380 additions and 380 deletions

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.8.2)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(NONE)
project(peripheral)
target_sources(app PRIVATE
src/main.c