Add option to place shadow build directory parallel to source tree.

This option requires that the projects directory setting is enabled.
For example with the following settings:

Projects directory: $HOME/depot
Build directory: $HOME/build

This will by default place the default shadow build directory in the
$HOME/build tree instead of adjacent to the source in $HOME/depot.

Change-Id: I74bfc00883d0479d5965350c760d14ef7602cc34
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Aaron McCarthy
2012-10-05 21:34:09 +10:00
parent 2198fa90eb
commit 1b3909e45a
6 changed files with 150 additions and 7 deletions

View File

@@ -129,6 +129,12 @@ public:
static QString projectsDirectory();
static void setProjectsDirectory(const QString &);
static bool useBuildDirectory();
static void setUseBuildDirectory(bool use);
static QString buildDirectory();
static void setBuildDirectory(const QString &directory);
static void populateOpenWithMenu(QMenu *menu, const QString &fileName);
/* Used to notify e.g. the code model to update the given files. Does *not*