diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-07-07 13:07:20 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-07-14 16:05:05 +0000 |
commit | 65cb4cba999b47a643e820a102b3185f861b97c1 (patch) | |
tree | 943c30a1389fca4b7709d9a23ba05a0d77658019 /src/lib/corelib/api/internaljobs.cpp | |
parent | 8d4d75b9ad62e48e9a3920df9815f391b2e81e6e (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/lib/corelib/api/internaljobs.cpp')
-rw-r--r-- | src/lib/corelib/api/internaljobs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/api/internaljobs.cpp b/src/lib/corelib/api/internaljobs.cpp index 681a4856b..c00e88138 100644 --- a/src/lib/corelib/api/internaljobs.cpp +++ b/src/lib/corelib/api/internaljobs.cpp @@ -241,7 +241,7 @@ void InternalSetupProjectJob::start() if (!m_existingProject) { bgLocker = new BuildGraphLocker(ProjectBuildData::deriveBuildGraphFilePath(buildDir, projectId), - logger()); + logger(), m_parameters.waitLockBuildGraph(), observer()); } execute(); if (m_existingProject) |