2011-01-22 18:41:53 +01:00
|
|
|
#
|
|
|
|
# Top level Qt-Creator project file
|
|
|
|
#
|
|
|
|
|
2011-01-22 23:54:48 +01:00
|
|
|
# This meta-project allows qt-creator users to open
|
|
|
|
# and configure a single project and to build all
|
|
|
|
# required software to produce a GCS. This includes
|
|
|
|
# regenerating all uavobject output.
|
|
|
|
#
|
|
|
|
# NOTE: To use this meta-project, you MUST perform these
|
|
|
|
# steps once for each SVN checkout:
|
|
|
|
# - Open <top>/ground/ground.pro in qt-creator
|
|
|
|
# - Select the "Projects" tab
|
|
|
|
# - Under Build Settings/General heading, click "Show Details"
|
|
|
|
# - Activate "Shadow Build"
|
|
|
|
# - Set your Build Directory to <top>/build/ground
|
|
|
|
#
|
|
|
|
# <top> = The full path to the base of your svn tree which should
|
|
|
|
# contain "flight", "ground", etc.
|
|
|
|
|
2011-01-23 22:42:01 +01:00
|
|
|
# There is a small problem with dependencies. qmake needs synthetic
|
|
|
|
# files when it generates GCS Makefiles. But we do not have
|
|
|
|
# uavobjgenerator at that time (on the 1st build). So we use the
|
|
|
|
# following trick: at make stage in uavobjects we rerun qmake for
|
|
|
|
# openpilotgcs.pro and regenerate GCS Makefiles using just built
|
|
|
|
# synthetic files. It takes some extra time but solves the
|
|
|
|
# dependency problem.
|
|
|
|
|
|
|
|
# Please note that this meta-project intended only for qt-creator
|
|
|
|
# users. Top level Makefile handles all dependencies itself and
|
|
|
|
# doesn't use ground.pro.
|
2011-01-22 23:54:48 +01:00
|
|
|
|
2011-01-22 18:41:53 +01:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
sub_openpilotgcs \
|
|
|
|
sub_uavobjects \
|
|
|
|
sub_uavobjgenerator
|
|
|
|
|
|
|
|
# uavobjgenerator
|
|
|
|
sub_uavobjgenerator.subdir = uavobjgenerator
|
|
|
|
|
|
|
|
# uavobjects
|
|
|
|
sub_uavobjects.subdir = uavobjects
|
|
|
|
sub_uavobjects.depends = sub_uavobjgenerator
|
|
|
|
|
|
|
|
# openpilotgcs
|
|
|
|
sub_openpilotgcs.subdir = openpilotgcs
|
|
|
|
sub_openpilotgcs.depends = sub_uavobjects
|