I often work with external libraries available for macOS and Windows.
While their features are xplatform, I have to address the correct library according to the current platform.
In theory, this could be doable with a dynamic constant set to the platform.
But what to do with different Win32/x86 libraries?
There is no optional CPU Bit selector available for constants.
While the IDE supports the platform buttons, and while this works nicely with usual methods, they are ignored for a constant. When I try to rename the duplicated and modified LibraryName1 to just LibraryName after having checked/unchecked the 64 bit/32 bit buttons on the constant, the IDE tells me that I cannot do so because a constant of that name already exists.
So I usually find myself duplicating all kinds of external and internal methods just because of different library names where either one optional selector in the constant editor (for 32/64 Bit) or the IDE respecting the platforms buttons would make life much easier.
– Did I miss anything and this all is indeed much easier to accomplish?
– Do feature requests exist that ask for such a feature?
As always: Thanks a lot!