mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-29 19:03:34 +00:00
IAR C-Stat exclude mcu folder
This commit is contained in:
@ -20,7 +20,12 @@ find_program(CMAKE_IAR_REPORT ireport)
|
||||
|
||||
if (IAR_CSTAT)
|
||||
cmake_minimum_required(VERSION 4.1)
|
||||
set(CMAKE_C_ICSTAT ${CMAKE_IAR_CSTAT} --checks=${CMAKE_CURRENT_LIST_DIR}/cstat_sel_checks.txt --db=${CMAKE_BINARY_DIR}/cstat.db --sarif_dir=${CMAKE_BINARY_DIR}/cstat_sarif)
|
||||
set(CMAKE_C_ICSTAT ${CMAKE_IAR_CSTAT}
|
||||
--checks=${CMAKE_CURRENT_LIST_DIR}/cstat_sel_checks.txt
|
||||
--db=${CMAKE_BINARY_DIR}/cstat.db
|
||||
--sarif_dir=${CMAKE_BINARY_DIR}/cstat_sarif
|
||||
--exclude ${TOP}/hw/mcu --exclude ${TOP}/lib
|
||||
)
|
||||
endif ()
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)
|
||||
|
||||
Reference in New Issue
Block a user