floooh/sokol-tools
View on GitHub ↗ ★ 350 C++
Command line tools for use with sokol headers
7 mentions on Hacker News by 3 people: 0 stories, 7 comments · first 2022-05-02 · latest 2024-09-07
20082026
-
…and CPU architecture, potentially using different compilers. This is always brittle (I would know: https://github.com/floooh/sokol-tools/actions/runs/107248810... )
comment by flohofwoe · 2024-09-07 · in QtCS2024: Compile once, Run everywhere -
I was researching this the other day, here is a non trivial example: https://github.com/floooh/sokol-tools/blob/master/build.zig Here is a tutorial: https://www.zvm.app/tutorials/zig-build-cpp.html
comment by rockwotj · 2024-02-18 · in Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux -
…). A similar problem I'd like to solve better is a shader cross-compiler ( https://github.com/floooh/sokol-tools ) which needs to run on Linux, macOS and Windows and takes too long to build locally, thus I currently need to distribut
comment by flohofwoe · 2023-12-14 · in Stop Hiding the Sharp Knives: The WebAssembly Linux Interface -
Sokol also provides a solution for shader cross-compilation ( https://github.com/floooh/sokol-tools/blob/master/docs/sokol... ), so you only need to write your shaders once no matter if you're targeting OpenGL, Metal, or DirectX. There are…
comment by bogwog · 2023-07-07 · in Meta releases Intermediate Graphics Library -
…C++ command line tool which works just fine with MUSL and results in a distro-agnostic executable ( https://github.com/floooh/sokol-tools ). What potential problems should I be aware of?
comment by flohofwoe · 2023-04-08 · in Go 1.21 will (likely) have a static toolchain on Linux -
…nicer than wrestling with the arcane cmake syntax and all the C/C++ compiler toolchain differences: https://github.com/floooh/sokol-tools/blob/master/build.zig The basic idea is the same as in all other build systems: you describe your…
comment by flohofwoe · 2023-03-10 · in Zig: The Modern Alternative to C -
Yes, here is an example for a non-trivial mixed C/C++ project: https://github.com/floooh/sokol-tools/blob/master/build.zig Compared to cmake this means giving up IDE support like Xcode or Visual Studio though, it's really "just" a build…
comment by flohofwoe · 2022-05-02 · in Qb – Zero-configuration build system to quickly build C/C++ projects