mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Fixed ground.pro build system by making uavobjects.pro run qmake on openpilotgcs.pro as discussed in the forums. Now running make should handle uavobject dependencies correctly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2539 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
f7b086ce65
commit
f993a7a0c7
@ -21,9 +21,15 @@ win32 {
|
||||
win32:MKDIR=$(MKDIR)
|
||||
!win32:MKDIR=$(MKDIR) -p
|
||||
|
||||
win32:SPEC = win32-g++
|
||||
macx-g++:SPEC = macx-g++
|
||||
linux-g++:SPEC = linux-g++
|
||||
|
||||
uavobjects.target = FORCE
|
||||
uavobjects.commands += -$${MKDIR} $$targetPath(../../uavobject-synthetics) $$addNewline()
|
||||
uavobjects.commands += cd $$targetPath(../../uavobject-synthetics) &&
|
||||
uavobjects.commands += $$targetPath(../ground/uavobjgenerator/$${BUILD_SUBDIR}uavobjgenerator)
|
||||
uavobjects.commands += -gcs ../../shared/uavobjectdefinition ../.. $$addNewline()
|
||||
uavobjects.commands += cd $$targetPath(../openpilotgcs) &&
|
||||
uavobjects.commands += $(QMAKE) ../../../ground/openpilotgcs/openpilotgcs.pro -spec $$SPEC -r $$addNewline()
|
||||
QMAKE_EXTRA_TARGETS += uavobjects
|
||||
|
Loading…
x
Reference in New Issue
Block a user