New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to disable a backend at compile-time #507
Comments
Could you please provide any codepointers to externalmedia? |
I would say your time is not well spent playing with ExternalMedia - that's On Sun, Mar 1, 2015 at 12:52 AM, mikekaganski notifications@github.com
|
Then, could you describe what functionality do you expect from self-registering backends? |
Actually, having thought about this some more, the best thing is just to add macros that can be used to disable a backend if we know it is incompatible. I don't think there is a way to automatically detect all the backends at compile-time. |
Well, if the abstractstate would contain a static vector member that each descendant would append with its factory, that (factory) would be also static for each backend, then you could have such possibility. |
Something like what was done in externalmedia to enable or disable solvers
This will help to disable backends that for some reason aren't compatible, like tabular methods on VxWorks.
The text was updated successfully, but these errors were encountered: