[QBS] Clean install directory
Christian.Kandeler at qt.io
Fri Sep 16 02:40:03 CEST 2016
Stéphane Fabry wrote:
> I have some files installed by qbs this way, inside a group of file:
> qbs.install: true
> qbs.installDir: project.binInstall
> But if files are removed from the group later on, they remains installed, they are not cleaned.
Yes. The idea is that the installation directory is an "external location", as opposed to the build root, which "belongs" to qbs. Therefore, qbs will never remove files from the installation directory as part of normal operations. But you can purge it explicitly via the --clean-install-root option.
More information about the Qbs