From 0ac2a0fce96d403bd42ae78c1764e97f845e371a Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Thu, 25 Jan 2024 13:06:47 +0900 Subject: [PATCH] cmake: sca: Add "SCA" to the Found messages This commit enhances the clarity of the build log by adding the "SCA" prefix to the "Found" messages generated by sca/*/sca.cmake. This change improves the readability of the `west build` log for users who may not be familiar with these tools, providing more informative and understandable output. Signed-off-by: Yasushi SHOJI --- cmake/sca/codechecker/sca.cmake | 2 +- cmake/sca/sparse/sca.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/sca/codechecker/sca.cmake b/cmake/sca/codechecker/sca.cmake index c7cf6325c40..87b6015ae84 100644 --- a/cmake/sca/codechecker/sca.cmake +++ b/cmake/sca/codechecker/sca.cmake @@ -3,7 +3,7 @@ # Copyright (c) 2023, Basalte bv find_program(CODECHECKER_EXE CodeChecker REQUIRED) -message(STATUS "Found CodeChecker: ${CODECHECKER_EXE}") +message(STATUS "Found SCA: CodeChecker (${CODECHECKER_EXE})") # CodeChecker uses the compile_commands.json as input set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/cmake/sca/sparse/sca.cmake b/cmake/sca/sparse/sca.cmake index 21511b07baa..356364997e6 100644 --- a/cmake/sca/sparse/sca.cmake +++ b/cmake/sca/sparse/sca.cmake @@ -3,7 +3,7 @@ # Copyright (c) 2022, Nordic Semiconductor ASA find_program(SPARSE_COMPILER cgcc REQUIRED) -message(STATUS "Found sparse: ${SPARSE_COMPILER}") +message(STATUS "Found SCA: sparse (${SPARSE_COMPILER})") # Create sparse.cmake which will be called as compiler launcher. # sparse.cmake will ensure that REAL_CC is set correctly in environment before