* Cosmetics before fixing #4400 * Cosmetics before fixing #4400 * Now one more conversion issue (SF => SH sources conversion from X9D to X7) I don't know what is exactly the conversion issue as I don't have the original EEPROM, but I used this one for my tests, so I fix it * Now we display correctly the corrupted mixers list so that copy/paste will work correctly (it was not consistent) + some cosmetics * Test removed too quickly * One global removed ;)
62 lines
1.1 KiB
CMake
62 lines
1.1 KiB
CMake
include_directories(
|
|
${CMAKE_SOURCE_DIR}
|
|
${COMPANION_SRC_DIRECTORY}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
|
|
set(modeledit_NAMES
|
|
modeledit
|
|
setup
|
|
heli
|
|
curves
|
|
telemetry
|
|
expodialog
|
|
mixerdialog
|
|
)
|
|
|
|
set(modeledit_SRCS
|
|
flightmodes.cpp
|
|
inputs.cpp
|
|
mixes.cpp
|
|
channels.cpp
|
|
logicalswitches.cpp
|
|
customfunctions.cpp
|
|
# templates.cpp
|
|
mixerslistwidget.cpp
|
|
node.cpp
|
|
edge.cpp
|
|
)
|
|
|
|
set(modeledit_HDRS
|
|
flightmodes.h
|
|
inputs.h
|
|
mixes.h
|
|
channels.h
|
|
logicalswitches.h
|
|
customfunctions.h
|
|
# templates.h
|
|
mixerslistwidget.h
|
|
node.h
|
|
)
|
|
|
|
set(modeledit_UIS
|
|
setup_timer.ui
|
|
setup_module.ui
|
|
flightmode.ui
|
|
telemetry_analog.ui
|
|
telemetry_customscreen.ui
|
|
telemetry_sensor.ui
|
|
)
|
|
|
|
foreach(name ${modeledit_NAMES})
|
|
set(modeledit_SRCS ${modeledit_SRCS} ${name}.cpp)
|
|
set(modeledit_HDRS ${modeledit_HDRS} ${name}.h)
|
|
set(modeledit_UIS ${modeledit_UIS} ${name}.ui)
|
|
endforeach()
|
|
|
|
qt5_wrap_ui(modeledit_SRCS ${modeledit_UIS})
|
|
qt5_wrap_cpp(modeledit_SRCS ${modeledit_HDRS})
|
|
|
|
add_library(modeledit ${modeledit_SRCS})
|
|
qt5_use_modules(modeledit Widgets Xml Multimedia)
|