chore: use Ninja for Win cpn and improve Python support (#6455)

This commit is contained in:
Raphael Coeffic
2025-07-27 11:50:22 +10:00
committed by GitHub
parent 23e3730289
commit 89f5d006c9
7 changed files with 312 additions and 126 deletions
+19 -19
View File
@@ -73,55 +73,55 @@ if(EdgeTX_SUPERBUILD)
-DNATIVE_BUILD:BOOL=0
INSTALL_COMMAND ""
EXCLUDE_FROM_ALL TRUE
)
)
add_custom_target(configure
DEPENDS native-configure arm-none-eabi-configure)
add_custom_target(libsimulator
COMMAND $(MAKE) -C native libsimulator
COMMAND ${CMAKE_COMMAND} --build native --target libsimulator --parallel
DEPENDS native-configure
)
)
add_custom_target(simulator
COMMAND $(MAKE) -C native simulator
COMMAND ${CMAKE_COMMAND} --build native --target simulator --parallel
DEPENDS native-configure
)
)
add_custom_target(simu
COMMAND $(MAKE) -C native simu
COMMAND ${CMAKE_COMMAND} --build native --target simu --parallel
DEPENDS native-configure
)
)
add_custom_target(companion
COMMAND $(MAKE) -C native companion
COMMAND ${CMAKE_COMMAND} --build native --target companion --parallel
DEPENDS native-configure
)
)
add_custom_target(gtests-radio
COMMAND $(MAKE) -C native gtests-radio
COMMAND ${CMAKE_COMMAND} --build native --target gtests-radio --parallel
DEPENDS native-configure
)
)
add_custom_target(tests-radio
COMMAND $(MAKE) -C native tests-radio
COMMAND ${CMAKE_COMMAND} --build native --target tests-radio --parallel
DEPENDS native-configure
)
)
add_custom_target(bootloader
COMMAND $(MAKE) -C arm-none-eabi bootloader
COMMAND ${CMAKE_COMMAND} --build arm-none-eabi --target bootloader --parallel
DEPENDS arm-none-eabi-configure
)
)
add_custom_target(firmware
COMMAND $(MAKE) -C arm-none-eabi firmware
COMMAND ${CMAKE_COMMAND} --build arm-none-eabi --target firmware --parallel
DEPENDS arm-none-eabi-configure
)
)
add_custom_target(firmware-size
COMMAND $(MAKE) -C arm-none-eabi firmware-size
COMMAND ${CMAKE_COMMAND} --build arm-none-eabi --target firmware-size --parallel
DEPENDS arm-none-eabi-configure
)
)
# Quit cmake at this point
return()