Closed fasxmut closed 9 months ago
That behavior is intended. B2 does a rather liberal header dependency scanning that does match #include
in comments. It's technically a "feature" in that it allows to add dependencies that are: for preprocessor type includes (#include SOME_DEF
), and for non-c++ files (#include "logo.rc"
).
That behavior is intended. B2 does a rather liberal header dependency scanning that does match
#include
in comments. It's technically a "feature" in that it allows to add dependencies that are: for preprocessor type includes (#include SOME_DEF
), and for non-c++ files (#include "logo.rc"
).
OK, I see. Thank you.
I describe it as folloing step by step, I wish no misunderstanding:
1.
My project has a.hpp, b.hpp, assume a.hpp is:
Then I rebuild my project:
default toolset is gcc.
2.
Uncomment it, let a.hpp become:
Then I rebuild my project.
3.
Now I make modification to b.hpp,
and execute:
The whole project will be rebuilt. Should the whole project not be rebuilt ?