In reference to the settings for Embarcadero Delphi > Lib paths, I see that there’s an option to either
a) use the registry (I assume eg. [HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\20.0] for 10.3 Rio), or
b) override with user defined paths for Win32, Win64, etc.
In my environment, I make use of the BDS start up switch -r (regkey) to control the settings for different projects (x3). That is, I have a Delphi desktop shortcut for each project.
Consequently my FinalBuilder script needs to refer to
[HKEY_CURRENT_USER\SOFTWARE\Embarcadero\proj1\20.0]) in Proj1.fbp8
[HKEY_CURRENT_USER\SOFTWARE\Embarcadero\proj2\20.0]) in Proj2.fbp8, and
[HKEY_CURRENT_USER\SOFTWARE\Embarcadero\proj3\20.0]) in Proj3.fbp8
Is there a setting to control the BDS regkey?
If not, can you suggest the best way to work with the options available?
I can’t seem to prepare a path variable in advance since that raises the “BDSxxx not found” error.
NB In one project there are 17 Delphi compile actions, so a change that doesn’t need individual action maintenance would be preferred.
BTW, it’s mainly the library path for the compile action that I’m mainly concerned about, but there may be other settings under this regkey that I have yet to deal with.