Hello,
I'm developing a plugin for a soft which has different versions and I need to make the plugin work for the 2 latest (say 1 and 2 for the simplicity). In order to do that, I've created 2 different build targets which have some difference in Project -> build options -> search directories -> compiler.
It works well, I can compile and execute my plugin for both versions, but when I'm developing and need to parse some headers files from the library provided by the soft, I haven't figure how to open the "good" header file depending on the current build target. What I would like, is when I'm working on the build target for version 1 and I have my curser on some types or variables and do search -> Goto Declaration, it opens the header from version 1 and the header of version 2 if I'm currently working on build target for version 2. Right now it works for the build target for version 1 (always opening header from version 1), but for the version 2, it is always opening the header from version 1, unless that class don't exist in version 1 (I have some #if #else #endif sections for some part of the code which needs different functions depending on the version, and by the way, is it possible to grey the irrelevant part of the code as I thought settings ->editor ->general settings -> other options -> interpret #if #else .. would do ?).
I was able to do that in eclipse with cdt, but the index was taking too much time to update every time I was switching from one build version to another, and it was really annoying. Is there a way to do that in C::B ?
I'm working with C::B Nightly build debugger branch SVN 7845