aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs/parser/commandlineoptionpool.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-07-07 13:07:20 -0700
committerJake Petroules <jake.petroules@qt.io>2016-07-14 16:05:05 +0000
commit65cb4cba999b47a643e820a102b3185f861b97c1 (patch)
tree943c30a1389fca4b7709d9a23ba05a0d77658019 /src/app/qbs/parser/commandlineoptionpool.h
parent8d4d75b9ad62e48e9a3920df9815f391b2e81e6e (diff)
Introduce the --wait-lock command line option
This allows multiple qbs processes competing for the same configuration instance to be launched simultaneously, and the inactive instances will wait indefinitely for the lock file to be released. This is primarily intended for use by the IDE generator plugins like Visual Studio where the "Build Solution" command builds all projects in the solution in parallel (and this cannot be disabled). Change-Id: I13c37a21dd8386e3dfdab1f769b8242bfcfc2e45 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/qbs/parser/commandlineoptionpool.h')
-rw-r--r--src/app/qbs/parser/commandlineoptionpool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs/parser/commandlineoptionpool.h b/src/app/qbs/parser/commandlineoptionpool.h
index 9cc9eb0ca..53578b423 100644
--- a/src/app/qbs/parser/commandlineoptionpool.h
+++ b/src/app/qbs/parser/commandlineoptionpool.h
@@ -67,6 +67,7 @@ public:
CommandEchoModeOption *commandEchoModeOption() const;
SettingsDirOption *settingsDirOption() const;
GeneratorOption *generatorOption() const;
+ WaitLockOption *waitLockOption() const;
private:
mutable QHash<CommandLineOption::Type, CommandLineOption *> m_options;