Is it possible to use the key sequence in the c/asm source code or uVision target options? For example, using of $P as part of include path.
An alternative - set own "current directory" for each target. Is it possible?