forked from qt-creator/qt-creator
ProjectExplorer: Create BuildDirectory on device
The BuildDirectory is now assumed to be on the build device. The default build directory template path is resolved against the project path mapped to the build directory. Change-Id: Ie1d147d135e9e551f2ac46cbec583374d524d2d7 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ CommandLine CMakeInstallStep::cmakeCommand() const
|
||||
if (buildConfiguration())
|
||||
buildDirectory = buildConfiguration()->buildDirectory();
|
||||
|
||||
cmd.addArgs({"--install", cmd.executable().withNewMappedPath(buildDirectory).path()});
|
||||
cmd.addArgs({"--install", buildDirectory.path()});
|
||||
|
||||
auto bs = qobject_cast<CMakeBuildSystem *>(buildSystem());
|
||||
if (bs && bs->isMultiConfigReader()) {
|
||||
|
||||
Reference in New Issue
Block a user