We want to use an option file in our project to generate a common "include path" for debug & release version.
We stumpled upon the following problem:
- We know, that $(proj_dir) is not allowed in the options file [:(]
- When using relative paths the include path must be relative to the source file - Ok, that would be fine for us
- When using program level optimization "-pm -op2", the relative path is not anymore relative to the source file (may be relative to $(proj_dir) or some temporary file)
So we are unable to use the same options file for debug & release version.
Is this a known problem and does anyone has a solution for it?
Thanks
Jan