mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-438: add gcs_installer target to the top Makefile (Windows only)
This commit is contained in:
parent
db6c3fb493
commit
ba88bcaab9
12
Makefile
12
Makefile
@ -232,6 +232,18 @@ openpilotgcs: uavobjects_gcs
|
||||
$(MAKE) -w ; \
|
||||
)
|
||||
|
||||
.PHONY: gcs_installer
|
||||
gcs_installer: openpilotgcs
|
||||
ifeq ($(QT_SPEC), win32-g++)
|
||||
ifeq ($(GCS_BUILD_CONF), release)
|
||||
$(V1) cd $(BUILD_DIR)/ground/openpilotgcs/packaging/winx86 && $(MAKE) -r --no-print-directory $@
|
||||
else
|
||||
$(error $@ can be generated for release build only (GCS_BUILD_CONF=release))
|
||||
endif
|
||||
else
|
||||
$(error $@ is currently only available on Windows)
|
||||
endif
|
||||
|
||||
.PHONY: uavobjgenerator
|
||||
uavobjgenerator:
|
||||
$(V1) mkdir -p $(BUILD_DIR)/ground/$@
|
||||
|
Loading…
Reference in New Issue
Block a user