2021-08-18 16:53:11 +02:00
|
|
|
set(headers
|
2021-08-20 13:16:55 +02:00
|
|
|
src/accessorinterface.h
|
|
|
|
src/actioninterface.h
|
2022-03-22 22:32:42 +01:00
|
|
|
src/actions/backproxyaction.h
|
|
|
|
src/actions/dummyaction.h
|
|
|
|
src/actions/multiaction.h
|
|
|
|
src/actions/popscreenaction.h
|
|
|
|
src/actions/pushscreenaction.h
|
|
|
|
src/actions/setvalueaction.h
|
|
|
|
src/actions/switchscreenaction.h
|
|
|
|
src/actions/toggleboolaction.h
|
2021-12-28 01:04:39 +01:00
|
|
|
src/backinterface.h
|
2021-12-28 13:40:56 +01:00
|
|
|
src/buttonsinterface.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/changevaluedisplay.h
|
|
|
|
src/changevaluedisplay_bool.h
|
2022-01-11 22:41:50 +01:00
|
|
|
src/changevaluedisplay_chrono.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/changevaluedisplay_daylightsavingmode.h
|
2021-12-30 05:56:46 +01:00
|
|
|
src/changevaluedisplay_ip_address_t.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/changevaluedisplay_sntp_sync_mode_t.h
|
2021-12-29 22:53:58 +01:00
|
|
|
src/changevaluedisplay_string.h
|
2021-12-29 20:29:12 +01:00
|
|
|
src/changevaluedisplay_wifi_auth_mode_t.h
|
2021-12-29 19:50:22 +01:00
|
|
|
src/changevaluedisplay_wifi_mode_t.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/checkboxicon.h
|
|
|
|
src/colorinterface.h
|
2021-12-28 01:04:39 +01:00
|
|
|
src/confirminterface.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/display.h
|
2021-11-01 22:21:29 +01:00
|
|
|
src/displaywithtitle.h
|
2021-12-29 21:53:23 +01:00
|
|
|
src/errorhandlerinterface.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/fontinterface.h
|
2021-11-02 16:11:37 +01:00
|
|
|
src/graphdisplay.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/iconinterface.h
|
2022-06-13 18:01:29 +02:00
|
|
|
src/keyboardhelper.h
|
2022-03-22 22:32:42 +01:00
|
|
|
src/icons/back.h
|
|
|
|
src/icons/checked.h
|
|
|
|
src/icons/unchecked.h
|
2023-01-18 14:04:03 +01:00
|
|
|
src/icons/back_grey.h
|
|
|
|
src/icons/checked_grey.h
|
|
|
|
src/icons/unchecked_grey.h
|
2022-03-22 22:32:42 +01:00
|
|
|
src/marginmenuitem.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/menudisplay.h
|
|
|
|
src/menuitem.h
|
2022-03-31 14:29:03 +02:00
|
|
|
src/messagepopupdisplay.h
|
2021-12-29 21:53:23 +01:00
|
|
|
src/popupdisplay.h
|
2022-06-09 11:15:14 +02:00
|
|
|
src/richtexthelper.h
|
2021-09-05 19:16:46 +02:00
|
|
|
src/richtextrenderer.h
|
2021-08-20 13:50:04 +02:00
|
|
|
src/screenmanager.h
|
2022-03-22 22:32:42 +01:00
|
|
|
src/scrollinterface.h
|
2021-11-02 16:11:37 +01:00
|
|
|
src/splitgraphdisplay.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/textinterface.h
|
2021-12-29 20:29:12 +01:00
|
|
|
src/textwithvaluehelper.h
|
2022-12-01 19:50:29 +01:00
|
|
|
src/tftcolors.h
|
2023-01-10 17:41:03 +01:00
|
|
|
src/titleinterface.h
|
2022-03-22 22:32:42 +01:00
|
|
|
src/visibleinterface.h
|
2023-01-23 17:02:26 +01:00
|
|
|
src/widgets/centeredlabel.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/widgets/graph.h
|
2023-02-15 17:19:59 +01:00
|
|
|
src/widgets/iconwidget.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/widgets/label.h
|
|
|
|
src/widgets/progressbar.h
|
|
|
|
src/widgets/reverseprogressbar.h
|
2022-05-24 16:12:08 +02:00
|
|
|
src/widgets/slider.h
|
2023-01-29 19:57:28 +01:00
|
|
|
src/widgets/variablerangeprogressbar.h
|
|
|
|
src/widgets/variablerangereverseprogressbar.h
|
2021-08-20 13:16:55 +02:00
|
|
|
src/widgets/verticalmeter.h
|
|
|
|
src/widgets/vumeter.h
|
2021-08-18 16:53:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sources
|
2021-08-20 13:16:55 +02:00
|
|
|
src/changevaluedisplay.cpp
|
|
|
|
src/changevaluedisplay_bool.cpp
|
|
|
|
src/changevaluedisplay_daylightsavingmode.cpp
|
2021-12-30 05:56:46 +01:00
|
|
|
src/changevaluedisplay_ip_address_t.cpp
|
2021-08-20 13:16:55 +02:00
|
|
|
src/changevaluedisplay_sntp_sync_mode_t.cpp
|
2021-12-29 22:53:58 +01:00
|
|
|
src/changevaluedisplay_string.cpp
|
2021-12-29 20:29:12 +01:00
|
|
|
src/changevaluedisplay_wifi_auth_mode_t.cpp
|
2021-12-29 19:50:22 +01:00
|
|
|
src/changevaluedisplay_wifi_mode_t.cpp
|
2021-11-01 22:21:29 +01:00
|
|
|
src/display.cpp
|
|
|
|
src/displaywithtitle.cpp
|
2021-11-02 16:11:37 +01:00
|
|
|
src/graphdisplay.cpp
|
2021-08-20 13:16:55 +02:00
|
|
|
src/menudisplay.cpp
|
2022-03-31 14:29:03 +02:00
|
|
|
src/messagepopupdisplay.cpp
|
2021-08-20 13:50:04 +02:00
|
|
|
src/screenmanager.cpp
|
2021-11-02 16:11:37 +01:00
|
|
|
src/splitgraphdisplay.cpp
|
2021-12-29 21:53:23 +01:00
|
|
|
src/popupdisplay.cpp
|
2023-04-27 17:07:08 +02:00
|
|
|
src/richtexthelper.cpp
|
2021-09-05 19:16:46 +02:00
|
|
|
src/richtextrenderer.cpp
|
2021-08-20 13:16:55 +02:00
|
|
|
src/icons/back.cpp
|
|
|
|
src/icons/checked.cpp
|
|
|
|
src/icons/unchecked.cpp
|
2023-01-18 14:04:03 +01:00
|
|
|
src/icons/back_grey.cpp
|
|
|
|
src/icons/checked_grey.cpp
|
|
|
|
src/icons/unchecked_grey.cpp
|
2023-01-23 17:02:26 +01:00
|
|
|
src/widgets/centeredlabel.cpp
|
2023-02-15 17:19:59 +01:00
|
|
|
src/widgets/iconwidget.cpp
|
2021-08-20 13:16:55 +02:00
|
|
|
src/widgets/label.cpp
|
|
|
|
src/widgets/progressbar.cpp
|
|
|
|
src/widgets/reverseprogressbar.cpp
|
2022-05-24 16:12:08 +02:00
|
|
|
src/widgets/slider.cpp
|
2023-01-29 19:57:28 +01:00
|
|
|
src/widgets/variablerangeprogressbar.cpp
|
|
|
|
src/widgets/variablerangereverseprogressbar.cpp
|
2021-08-20 13:16:55 +02:00
|
|
|
src/widgets/verticalmeter.cpp
|
|
|
|
src/widgets/vumeter.cpp
|
2021-08-18 16:53:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(dependencies
|
|
|
|
cpputils
|
2021-08-20 13:16:55 +02:00
|
|
|
cxx-ring-buffer
|
2021-08-18 16:53:11 +02:00
|
|
|
espchrono
|
|
|
|
espcpputils
|
2021-12-29 20:29:12 +01:00
|
|
|
espwifistack
|
2021-08-18 16:53:11 +02:00
|
|
|
TFT_eSPI
|
2023-01-12 23:21:21 +01:00
|
|
|
esptftlib
|
|
|
|
espfontlib
|
2021-08-18 16:53:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
idf_component_register(
|
|
|
|
INCLUDE_DIRS
|
|
|
|
src
|
|
|
|
SRCS
|
|
|
|
${headers}
|
|
|
|
${sources}
|
|
|
|
REQUIRES
|
|
|
|
${dependencies}
|
|
|
|
)
|
|
|
|
|
2023-04-27 14:27:30 +02:00
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
|
|
|
|
|
2021-08-18 16:53:11 +02:00
|
|
|
target_compile_options(${COMPONENT_TARGET}
|
|
|
|
PRIVATE
|
|
|
|
-fstack-reuse=all
|
|
|
|
-fstack-protector-all
|
|
|
|
-Wno-unused-function
|
|
|
|
-Wno-deprecated-declarations
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
-Wno-parentheses
|
|
|
|
)
|