diff options
author | Brad King <brad.king@kitware.com> | 2008-06-02 20:44:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-02 20:44:58 (GMT) |
commit | 6be09c366774ed6d723a06f5f07ba5c09d8e4579 (patch) | |
tree | 55aef0c5ad0c7b582b76494f5db1b5e291c2e76a /Source/cmAddCustomCommandCommand.h | |
parent | db59f49ecf6767e66d9edd12194bcd60804dc8a3 (diff) | |
download | CMake-6be09c366774ed6d723a06f5f07ba5c09d8e4579.zip CMake-6be09c366774ed6d723a06f5f07ba5c09d8e4579.tar.gz CMake-6be09c366774ed6d723a06f5f07ba5c09d8e4579.tar.bz2 |
ENH: Introduce "rule hashes" to help rebuild files when rules change.
- In CMake 2.4 custom commands would not rebuild when rules changed.
- In CMake 2.6.0 custom commands have a dependency on build.make
which causes them to rebuild when changed, but also when any
source is added or removed. This is too often.
- We cannot have a per-rule file because Windows filesystems
do not deal well with lots of small files.
- Instead we add a persistent CMakeFiles/CMakeRuleHashes.txt file
at the top of the build tree that is updated during each
CMake Generate step. It records a hash of the build rule for
each file to be built. When the hash changes the file is
removed so that it will be rebuilt.
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
0 files changed, 0 insertions, 0 deletions