annotate repoint.pri @ 1866:65d244ee39f9

Experimentally add a rule to re-run Repoint if the project or lock file is newer than the .repoint.point file. This sort of thing isn't sufficient for all uses of Repoint because some of the initial qmake project file info is brought in by Repoint, so it has to be run before qmake as well. Also it's not clear yet how it will interact with archived builds (i.e. source releases) -- to be tested.
author Chris Cannam
date Tue, 19 Jun 2018 15:03:24 +0100
parents
children
rev   line source
Chris@1866 1
Chris@1866 2 repoint.target = $$PWD/.repoint.point
Chris@1866 3 repoint.depends = $$PWD/repoint-project.json $$PWD/repoint-lock.json
Chris@1866 4 repoint.commands = $$PWD/repoint install --directory $$PWD
Chris@1866 5
Chris@1866 6 QMAKE_EXTRA_TARGETS += repoint
Chris@1866 7 PRE_TARGETDEPS += $$repoint.target