mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Make OSG selection a QMake config option (OSG)
To include this module from the command line: make GCS_QMAKE_OPTS="CONFIG+=OSG" -j7 gcs
This commit is contained in:
parent
abbf858123
commit
42213b21f7
2
Makefile
2
Makefile
@ -471,7 +471,7 @@ gcs_clean: openpilotgcs_clean
|
||||
openpilotgcs: uavobjects_gcs
|
||||
$(V1) mkdir -p $(BUILD_DIR)/ground/$@
|
||||
$(V1) ( cd $(BUILD_DIR)/ground/$@ && \
|
||||
$(QMAKE) $(ROOT_DIR)/ground/openpilotgcs/openpilotgcs.pro -spec $(QT_SPEC) -r CONFIG+=$(GCS_BUILD_CONF) && \
|
||||
$(QMAKE) $(ROOT_DIR)/ground/openpilotgcs/openpilotgcs.pro -spec $(QT_SPEC) -r CONFIG+=$(GCS_BUILD_CONF) $(GCS_QMAKE_OPTS) && \
|
||||
$(MAKE) -w ; \
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,9 @@ TARGET = PfdQml
|
||||
QT += svg
|
||||
QT += opengl
|
||||
QT += declarative
|
||||
#DEFINES += USE_OSG
|
||||
OSG {
|
||||
DEFINES += USE_OSG
|
||||
}
|
||||
|
||||
include(../../openpilotgcsplugin.pri)
|
||||
include(../../plugins/coreplugin/coreplugin.pri)
|
||||
|
Loading…
x
Reference in New Issue
Block a user