why does cmake compiles everything after git commit
问题 Lets say I have a code compiling at some time with cmake 2.8 on linux. I change a file "my_changed_file", run cmake, and only this one file is built. So far so good. Now i want to commit this: git add my_changed_file git commit If I run cmake again, i'd expect nothing happens. But all my files are recompiled, despite I didn't touched anything! The timestamp appears to be untouched when I do ls -l. I do have these lines: execute_process( COMMAND git describe --abbrev=8 --dirty --always --tags