queezythegreat/arduino-cmake — Issue #20: CMAKE_C_FLAGS and CMAKE_CXX_FLAGS empty if build type empty
Author: dlobato
Created: 2012-01-25 16:00:30+00:00
State: open

If no build type is selected CMAKE_C_FLAGS and CMAKE_CXX_FLAGS are set empty, regardless the value set on the toolchain file. This causes warnings on compile time like:

delay.h:95:3: warning: #warning "Compiler optimizations disabled; functions from won't work as designed"