commit | e50e12d8d1ac07ace67a85a0f5f40dfe3deb66d7 | [log] [tgz] |
---|---|---|
author | Sebastian Bøe <sebastian.boe@nordicsemi.no> | Thu Aug 29 16:19:32 2019 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed Nov 06 21:18:43 2019 +0100 |
tree | cd325202b5d19a91ad47499538fb6dd5722c67db | |
parent | eddbf3c986f0908f36e9d8e2906d3dea46013810 [diff] |
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: Sebastian Bøe <sebastian.boe@nordicsemi.no>