Open nadous opened 2 years ago
Thanks for submitting this! I'm happy to merge it but it needs a few changes first:
SDL.zig/
folder should be moved into the examples/include/
directory.gitignore
> zig build example_glfw_vulkan
Could not auto-detect SDL2 sdk configuration. Please provide C:\Users\Martin\Projects\Zig-ImGui\.build_config\sdl.json with the following contents filled out:
{
"x86_64-windows-gnu": {
"include": "<path to sdl2 sdk>/include",
"libs": "<path to sdl2 sdk>/lib",
"bin": "<path to sdl2 sdk>/bin"
}
}
You can obtain a SDL2 sdk for windows from https://www.libsdl.org/download-2.0.php error: the following build command failed with exit code 1: C:\Users\Martin\Projects\Zig-ImGui\zig-cache\o\83cb1bbbb8bded64fa9d40dbd38b4b9f\build.exe C:\Program Files\Zig\Current\zig.exe C:\Users\Martin\Projects\Zig-ImGui C:\Users\Martin\Projects\Zig-ImGui\zig-cache C:\Users\Martin\AppData\Local\zig example_glfw_vulkan
Everything this PR does is in the title with a couple of side notes:
build.zig
& moving shaders to a different location