Skip to content
Commit e50e12d8 authored by Sebastian Bøe's avatar Sebastian Bøe Committed by Kumar Gala
Browse files

cmake: Check if match between CMAKE_BUILD_TYPE and OPTIMIZATION_FLAG



In CMake projects, 'CMAKE_BUILD_TYPE' usually determines the
optimization flag, but in Zephyr it is determined through Kconfig.

To avoid confusing users we now give a warning if there is a mismatch
between the CMAKE_BUILD_TYPE and the optimization flag.

Signed-off-by: default avatarSebastian Bøe <sebastian.boe@nordicsemi.no>
parent eddbf3c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment