Take changes in .h and .cpp files into account during build

Authored by vandenoever on Oct 9 2018, 4:11 PM.