I have a complex project group that has about 10 "final" build configurations configured in a tree, where each node has its own option set. Something like this:
- Base
- Release
- Release Generic 1
- Release Final 1
- ...
- Release final 5
- Release Generic 2
- Release Final 6
- ...
- Release Generic 1
- Debug
- same as release, but for debug
- Release
so, all base, Release, Release Generic X, Release Final Y have their own option set saved in files and added as reference. So you will have
- base.optset
- Release.optset
- Release Generic 1.optset
- Release Final 1.optset
- ..
- Release Generic 1.optset
- Release.optset
The main differences between these option sets are various compiler defines enabling/disabling certain features that are organized in the tree mentioned above (hence the build targets and the option sets) and obviously search paths that include the needed stuff. So each option set also contains different search paths that depend on the respective build configuration. There are over 100 projects in the project group and most of them relate to one another on different level of configurations, so there are also a bunch of Build Groups, but this is irrelevant for the question as right now I'm trying to build the projects one at a time.
The problem is that every option set is configuring the search path. Up to and including "Release Generic 1.optset" the search path is correctly updated and used. However, the "Release Final 1" and siblings don't get the search paths introduced by "Release Final 1.optset". (I know this because I looked at the compiler messages and checked the parameters passed to dcc32) It appears like the option set is ignored.
Everything is configured with "inherit=true" in the option set.
There is nothing specific in the build configurations, nowhere. Every project uses the configuration in the IDE and option set files only.
Is this issue/limitation documented anywhere/known about? Is there a workaround? Other than applying the option set as value and not by reference.
Thanks.
later edit: I decided to implement a pretty ugly workaround in order to get moving: basically, replicate teh configuration from "Release Generic 1.optset" into each "Release Final ?.optset" this has the major disadvantage of having to edit 5 option set files propagating the same modification, when in need of adding something to "Release Generic 1.optset"