Can anyone tell me where to find a list of the \"pseudo\" environment variables available in RAD Studio? The ones like $(Platform), $(Config), and so on. Specifically, I want on
Have you tried $(ProductVersion)? this will not give you D16, but contains the BDS product version 9.0 for XE2.
Unfortunately my XE2 Demo version is expired so I can't verify myself if it works. You'll find the definition bin\CodeGear.Common.Targets
Update: The ProductVersion define is new in XE2, so it won't work in older versions, but since its newly added, the possibility is high that it will be maintained by embarcadero in future versions.