From 6c2824bdaad77acc8923dfb723cb5f2d50df63e4 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 12 Jul 2024 12:17:01 +0200 Subject: [PATCH] ci(clang): include all components in clang_build_test --- tools/test_apps/system/clang_build_test/CMakeLists.txt | 4 ++-- tools/test_apps/system/clang_build_test/main/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/test_apps/system/clang_build_test/CMakeLists.txt b/tools/test_apps/system/clang_build_test/CMakeLists.txt index cd85707a09..3d9f414280 100644 --- a/tools/test_apps/system/clang_build_test/CMakeLists.txt +++ b/tools/test_apps/system/clang_build_test/CMakeLists.txt @@ -3,5 +3,5 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) -project(cpp_pthread) +# Note: not setting set(COMPONENTS main) here, this app should build all the components +project(clang_build_test) diff --git a/tools/test_apps/system/clang_build_test/main/CMakeLists.txt b/tools/test_apps/system/clang_build_test/main/CMakeLists.txt index 7f0828d2a3..079bf9c6ab 100644 --- a/tools/test_apps/system/clang_build_test/main/CMakeLists.txt +++ b/tools/test_apps/system/clang_build_test/main/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRCS "test_main.cpp" - INCLUDE_DIRS "." - PRIV_REQUIRES pthread bt) + INCLUDE_DIRS ".") +# Note: not setting PRIV_REQUIRES, this app should build all the components.