Details
Description
Make minimal example, files attached.
building p1 - OK:
F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:p1 Restoring build graph from disk Resolving project for configuration release F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:p1 Restoring build graph from disk Building for configuration release compiling m1.cpp [app1] linking app1.exe [app1] Build done for configuration release. Installing
building p2 - OK:
F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:p2 Restoring build graph from disk Resolving project for configuration release F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:p2 Restoring build graph from disk Building for configuration release compiling m2.cpp [app2] linking app2.exe [app2] Build done for configuration release. Installing
building lib - FAILED:
F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:lib Restoring build graph from disk Resolving project for configuration release F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:lib Restoring build graph from disk ERROR: Property values set on the command line differ from the ones used for the previous build. Old property values: project.targetProj:"p2" New property values: project.targetProj:"lib" Use the 'resolve' command if you really want to rebuild with the new properties.
How to fix/workaround this?
Attachments
Issue Links
- is duplicated by
-
QBS-1687 build from scratch worked, rebuild failed
-
- Closed
-
For Gerrit Dashboard: QBS-1686 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
389560,2 | Remove bogus reset of build graph's "dirty" flag | 1.21 | qbs/qbs | Status: MERGED | +2 | +1 |