From a0cbe21eb35fe06fc04d85135505c705f30f4815 Mon Sep 17 00:00:00 2001 From: stac Date: Sat, 22 Jan 2011 17:41:48 +0000 Subject: [PATCH] build: move openpilotgcs output under /build/ground This will allow us to create a simpler project file for those that use the qt-creator gui. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2529 ebee16cc-31ac-478f-84a7-5cbb03baadba --- Makefile | 14 +++++++------- .../plugins/uavobjects/uavobjects_dependencies.pri | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 11c50ca70..da30e7fd1 100644 --- a/Makefile +++ b/Makefile @@ -7,15 +7,15 @@ DL_DIR=$(ROOT_DIR)/downloads # We almost need to consider autoconf/automake instead of this # I don't know if windows supports uname :-( QT_SPEC=win32-g++ -UAVOBJGENERATOR="$(BUILD_DIR)/uavobjgenerator/debug/uavobjgenerator.exe" +UAVOBJGENERATOR="$(BUILD_DIR)/ground/uavobjgenerator/debug/uavobjgenerator.exe" UNAME := $(shell uname) ifeq ($(UNAME), Linux) QT_SPEC=linux-g++ - UAVOBJGENERATOR="$(BUILD_DIR)/uavobjgenerator/uavobjgenerator" + UAVOBJGENERATOR="$(BUILD_DIR)/ground/uavobjgenerator/uavobjgenerator" endif ifeq ($(UNAME), Darwin) QT_SPEC=macx-g++ - UAVOBJGENERATOR="$(BUILD_DIR)/uavobjgenerator/uavobjgenerator" + UAVOBJGENERATOR="$(BUILD_DIR)/ground/uavobjgenerator/uavobjgenerator" endif @@ -198,16 +198,16 @@ gcs: openpilotgcs .PHONY: openpilotgcs openpilotgcs: uavobjects_gcs - mkdir -p $(BUILD_DIR)/$@ - ( cd $(BUILD_DIR)/$@ ; \ + mkdir -p $(BUILD_DIR)/ground/$@ + ( cd $(BUILD_DIR)/ground/$@ ; \ $(QMAKE) $(ROOT_DIR)/ground/openpilotgcs/openpilotgcs.pro -spec $(QT_SPEC) -r CONFIG+=debug ; \ $(MAKE) -w ; \ ) .PHONY: uavobjgenerator uavobjgenerator: - mkdir -p $(BUILD_DIR)/$@ - ( cd $(BUILD_DIR)/$@ ; \ + mkdir -p $(BUILD_DIR)/ground/$@ + ( cd $(BUILD_DIR)/ground/$@ ; \ $(QMAKE) $(ROOT_DIR)/ground/uavobjgenerator/uavobjgenerator.pro -spec $(QT_SPEC) -r CONFIG+=debug ; \ $(MAKE) -w ; \ ) diff --git a/ground/openpilotgcs/src/plugins/uavobjects/uavobjects_dependencies.pri b/ground/openpilotgcs/src/plugins/uavobjects/uavobjects_dependencies.pri index 9cf42e484..6dc1ed1a8 100644 --- a/ground/openpilotgcs/src/plugins/uavobjects/uavobjects_dependencies.pri +++ b/ground/openpilotgcs/src/plugins/uavobjects/uavobjects_dependencies.pri @@ -2,7 +2,7 @@ include(../../plugins/coreplugin/coreplugin.pri) include(../../libs/utils/utils.pri) # Provide the path to the auto-generated uavobject source files for the GCS. -UAVOBJECT_SYNTHETICS=$${GCS_BUILD_TREE}/../uavobject-synthetics/gcs +UAVOBJECT_SYNTHETICS=$${GCS_BUILD_TREE}/../../uavobject-synthetics/gcs #message(UAVOBJECT_SYNTHETICS is $$UAVOBJECT_SYNTHETICS) # Add the include path to the auto-generated uavobject include files.