Skip to content

Commit

Permalink
Added option to build binary without included firmwares
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Dec 16, 2022
1 parent e04e0b9 commit 5b1ad1d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions vesc_tool.pro
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ ios: {
# Build mobile GUI
#CONFIG += build_mobile

# Exclude built-in firmwares
#CONFIG += exclude_fw

ios: {
CONFIG += build_mobile
DEFINES += QT_NO_PRINTER
Expand Down Expand Up @@ -264,13 +267,16 @@ include(QCodeEditor/qcodeeditor.pri)
include(esp32/esp32.pri)

RESOURCES += res.qrc \
res_fw_bms.qrc \
res/firmwares/res_fw.qrc \
res_lisp.qrc \
res_qml.qrc \
res/firmwares_esp/res_fw_esp.qrc
res_qml.qrc
RESOURCES += res_config.qrc

!exclude_fw {
RESOURCES += res_fw_bms.qrc
RESOURCES += res/firmwares/res_fw.qrc
RESOURCES += res/firmwares_esp/res_fw_esp.qrc
}

build_original {
RESOURCES += res_original.qrc
DEFINES += VER_ORIGINAL
Expand Down

0 comments on commit 5b1ad1d

Please sign in to comment.