Add macOS support for DServer::create_cpp_class
The DServer::create_cpp_class
method allows a device to be loaded from a shared object file. This works on Windows and Linux systems, but on macOS it fails. This is purely due to the filename - cppTango tries a .so
extension, but on macOS the default is a .dylib
extension. The rest of of the non-Windows code is probably OK - renaming the .dylib
file to .so
on on macOS works.
Originally reported in TangoTest.
We need this so we can run a CI test in PyTango that test this functionality. Related MR: pytango!679