Changes in header dependencies do not cause a rebuild
Currently I have the problem with the
test_pipe_laufer_... executables, they should be rebuilt if e.g., a file in the
dumux/freeflow/rans/twoeq/ subdirectory changes. However, they are sensitive to all headers directly included from
test_pipe_laufer.cc, but not to all subheaders of these headers (e.g. on all
lowrekepsilon stuff but not on the
kepsilon). This is especially annoying or problematic, if external changes by git pull should cause a rebuild.
What I have found out is that the
depend.internal in the respective subfolder of the build-directory do not list all required files.
One solution is to use
ninja instead of unix make (should be faster, colored compiler output with -fdiagnostics-color=always).
ninja can also correctly handle the preprocessor includes (so changes in
lowrekepsilon do not cause a rebuild of