interceptor sees all compiler invocations, but if file was compiled several times then only one is used for configuring item properties. It cause random behavior of code model, because the same file is compiled with i.e. -DSERVER and -DCLIENT and code model is blinking after re-build + only one branch is visible when both were used
I'd like to see more of justification and evaluation before moving forward with implementation. Please do not implement until discussed in details.
C/C++ project does not support several configurations of the one compilation unit.
So discovery randomly selects a configuration from several configurations of the compilation unit.
The issue is an RFE:
- support several configurations of one compilation unit.