CMake toolchain: fix options comment

Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
pull/13566/head
Martin Kojtal 2020-07-31 15:26:22 +01:00 committed by Hugues Kamba
parent 1ebedf2709
commit 57f39aed01
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ set(CMAKE_CXX_COMPILER_WORKS TRUE)
# Project setup
enable_language(C CXX ASM)
# Clear FLAGS for all languages
# Clear toolchains options for all languages as Mbed OS uses
# different initialisation options (such as for optimization and debug symbols)
# Mbed OS uses different init flags (optimization, debug symbols)
set(CMAKE_C_FLAGS_DEBUG "" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_RELEASE "" CACHE STRING "" FORCE)