* Jumper T12 - companion part * more work * Add definitions * fix libsimulator key handling * Fix simu keys handling * Cosmetics * Continued * Fix wrong regplace * Fix wrong regplace * Please travis * Please travis * Add T12 to Travis Switch naming and display * Cosmetics * Work on modules * Work on modules * typo * Fix navigation * Cosmetics * Introduce NAVIGATION_type * Fix * Make NAVIGATION_type more future proof * Lots of cleanups and improvements * Cosmetics * Fix internal module menu * Cosmetics * Fix screen reversed * Small fixes * Fix navigation issue * Please travis * Fix LCD contrast * Fix T12 switch layout * Fix T12 keys screen and all radios keys translations * Complete rework of SWITCHES screen for all radios * comsetics * VC++ compilation
63 lines
1.1 KiB
CMake
63 lines
1.1 KiB
CMake
set(GUI_SRC
|
|
${GUI_SRC}
|
|
lcd.cpp
|
|
splash.cpp
|
|
fonts.cpp
|
|
popups.cpp
|
|
widgets.cpp
|
|
menus.cpp
|
|
menu_model.cpp
|
|
model_select.cpp
|
|
model_setup.cpp
|
|
model_outputs.cpp
|
|
model_failsafe.cpp
|
|
model_module_options.cpp
|
|
model_receiver_options.cpp
|
|
model_logical_switches.cpp
|
|
model_special_functions.cpp
|
|
model_telemetry.cpp
|
|
model_telemetry_sensor.cpp
|
|
menu_radio.cpp
|
|
radio_setup.cpp
|
|
radio_trainer.cpp
|
|
radio_version.cpp
|
|
radio_calibration.cpp
|
|
view_main.cpp
|
|
view_statistics.cpp
|
|
)
|
|
|
|
set(SRC
|
|
${SRC}
|
|
gui/common/widgets.cpp
|
|
gui/navigation/navigation_${NAVIGATION_TYPE}.cpp
|
|
gui/navigation/common.cpp
|
|
)
|
|
|
|
string(TOUPPER ${NAVIGATION_TYPE} NAVIGATION_TYPE)
|
|
add_definitions(-DNAVIGATION_${NAVIGATION_TYPE})
|
|
|
|
include_directories(gui gui/${GUI_DIR})
|
|
|
|
if(GUI_DIR STREQUAL 128x64 OR GUI_DIR STREQUAL 212x64)
|
|
include(gui/common/stdlcd/CMakeLists.txt)
|
|
endif()
|
|
|
|
if(ARCH STREQUAL ARM)
|
|
set(SRC
|
|
${SRC}
|
|
gui/common/arm/widgets.cpp
|
|
)
|
|
endif()
|
|
|
|
if(PCB STREQUAL X12S OR PCB STREQUAL X10)
|
|
if(HELI)
|
|
set(HELI_SRC gui/common/colorlcd/model_heli.cpp)
|
|
endif()
|
|
|
|
set(SRC
|
|
${SRC}
|
|
gui/common/colorlcd/widgets.cpp
|
|
${HELI_SRC}
|
|
)
|
|
endif()
|