diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-25 16:19:02 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-28 07:35:26 +0000 |
commit | 7ed3fd38aa21cb09fb270402ee3cdd99484cddf0 (patch) | |
tree | bcea8c82b07853dd734055b3eca540751412c0c2 /tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs | |
parent | 1518831c3c2de37880f46aa5c3fa773e376d969a (diff) |
Fix dependency tracking when using --check-timestamps
The --check-timestamps option is meant to be used to reconstruct a build
after accidentally removing the build graph file. This means we must re-
scan sources even though they appear up to date, in order to reconstruct
e.g. dependencies between C++ sources and headers.
Task-number: QBS-1178
Change-Id: I19ac385e57ceb7fcbba2df1ef24497935c067512
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs b/tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs new file mode 100644 index 000000000..32456444c --- /dev/null +++ b/tests/auto/blackbox/testdata/check-timestamps/check-timestamps.qbs @@ -0,0 +1,10 @@ +import qbs + +CppApplication { + name: "app" + files: [ + "file.cpp", + "file.h", + "main.cpp", + ] +} |