BlueBrain / hpc-coding-conventions

Apache License 2.0
7 stars 5 forks source link

Only copy if the files are different. #159

Closed 1uc closed 1 year ago

1uc commented 1 year ago

This might make a difference in compile times. If for example we copy a files like newton.hpp unconditionally then every compilation unit which (transitively) depends on newton.hpp will need to be recompiled.

If we only copy when newton.hpp has changed, we can likely avoid recompiling pointlessly.