premake-core icon indicating copy to clipboard operation
premake-core copied to clipboard

How to handle conflicting API (in external modules)?

Open Jarod42 opened this issue 4 months ago • 0 comments

What's your question?

I test external modules, I put generators in premake5-system.lua I have one project which uses one module with "conflicting" api same name, (and even same definition) leading to errors. Which is the proper way to handle that?

For actual case, it is premake-qt and premake-qmake with api qtmodules.

Anything else we should know?

From https://github.com/dcourtois/premake-qt/pull/33

The proper way to fixing that would be to have the ability to create addon namespaces, but that's something that needs to be solved in Premake-core.

Jarod42 avatar Feb 14 '24 17:02 Jarod42