From 1413c4241096b83ff3ce8291dc50feedc9e8e28e Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Thu, 8 Apr 2021 12:59:53 +0100 Subject: [PATCH] CMake: use project name for Mbed OS This enables multiple variables we can use. One of them is source dir for a project. It will replace MBED_PATH in the tree. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03ac543a45..5f02433d7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,8 @@ cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR) include(${MBED_CONFIG_PATH}/mbed_config.cmake) include(tools/cmake/set_linker_script.cmake) +project(mbed-os) + add_library(mbed-core INTERFACE) add_library(mbed-os INTERFACE)