Hello, i'm making my game engine and i have a problem i would like to compile imgui with opengl and imgui with vulkan into 2 shared libraries but here comes the problem, zig says that i can only have one build.Module for a file but when i make 2 build.Dependency(to have 2 backends) it says that zig only allows one module per file, so i thought i could just try to import backend.zig file into a program so i'm here to ask will this approach work or do i need to continue thinking about new approaches?
I'm using zig 0.15.2, imporing latest zgui from github with ZON.
Hello, i'm making my game engine and i have a problem i would like to compile imgui with opengl and imgui with vulkan into 2 shared libraries but here comes the problem, zig says that i can only have one build.Module for a file but when i make 2 build.Dependency(to have 2 backends) it says that zig only allows one module per file, so i thought i could just try to import backend.zig file into a program so i'm here to ask will this approach work or do i need to continue thinking about new approaches?
I'm using zig 0.15.2, imporing latest zgui from github with ZON.