Merge pull request #370 from bobbycar-graz/cmake-checks

This commit is contained in:
CommanderRedYT
2022-10-03 12:58:22 +02:00
committed by GitHub

View File

@ -24,7 +24,7 @@ set(headers
actions/modesettingsaction.h
actions/qraction.h
actions/rebootaction.h
actions/resetnvsaction.h
actions/resetnvsaction.h
actions/savesettingsaction.h
actions/switchprofileaction.h
actions/tempomatmodeapplycurrentpeedaction.h
@ -279,7 +279,7 @@ set(sources
actions/modesettingsaction.cpp
actions/qraction.cpp
actions/rebootaction.cpp
actions/resetnvsaction.cpp
actions/resetnvsaction.cpp
actions/savesettingsaction.cpp
actions/switchprofileaction.cpp
actions/tempomatmodeapplycurrentpeedaction.cpp
@ -544,6 +544,10 @@ string(REPLACE "\n" " " GIT_MESSAGE "${GIT_MESSAGE}")
string(SUBSTRING "${GIT_MESSAGE}" 0 100 GIT_MESSAGE)
string(STRIP "${GIT_BRANCH}" GIT_BRANCH)
if(NOT DEFINED BOBBY_DEFAULT_OTA_NAME)
message(FATAL_ERROR "Please define BOBBY_DEFAULT_OTA_NAME")
endif()
target_compile_options(${COMPONENT_TARGET}
PRIVATE
-fstack-reuse=all