floooh/sokol-tools

Command line tools for use with sokol headers

346

stars

745

commits

C++

primary language

Aug 9, 2026

updated

README

sokol-tools

Build

Command line tools for the sokol headers.

Documentation

  • sokol_shdc: shader-cross-compiler and code-generator for sokol_gfx.h

Precompiled binaries and fips-integration files:

https://github.com/floooh/sokol-tools-bin

How to build, run and debug

Prerequisites:

> deno --version
2.6.x
> cmake --version
3.x
# optional:
> ninja --version
1.9.x

...plus your platform's C/C++ compiler toolchain (Xcode, Visual Studio, clang or gcc).

...for installing Deno, see: https://docs.deno.com/runtime/getting_started/installation/

To clone, build and run:

git clone --recursive https://github.com/floooh/sokol-tools.git
cd sokol-tools
./fibs build
./fibs run sokol-shdc --help

On Linux this builds a statically linked executable. If this doesn't work for some reason, build via Docker instead (which will compile inside an Alpine image):

./build_docker.sh

To build for IDE debugging use any of the following build configs:

./fibs config macos-xcode-debug
./fibs config macos-vscode-debug
./fibs config win-vstudio-debug
./fibs config win-vscode-debug
./fibs config linux-vscode-debug

...then launch the project in VStudio, Xcode or VSCode via:

./fibs open

For more information about fibs see https://github.com/floooh/fibs

Dependencies

Many thanks to:

Contributors

(top 30 of 34)

floooh

667 commits

Interrupt

12 commits

code-disaster

8 commits

radekm

5 commits

floooh/sokol-tools

Command line tools for use with sokol headers

346

stars

745

commits

C++

primary language

Aug 9, 2026

updated

README

sokol-tools

Build

Command line tools for the sokol headers.

Documentation

  • sokol_shdc: shader-cross-compiler and code-generator for sokol_gfx.h

Precompiled binaries and fips-integration files:

https://github.com/floooh/sokol-tools-bin

How to build, run and debug

Prerequisites:

> deno --version
2.6.x
> cmake --version
3.x
# optional:
> ninja --version
1.9.x

...plus your platform's C/C++ compiler toolchain (Xcode, Visual Studio, clang or gcc).

...for installing Deno, see: https://docs.deno.com/runtime/getting_started/installation/

To clone, build and run:

git clone --recursive https://github.com/floooh/sokol-tools.git
cd sokol-tools
./fibs build
./fibs run sokol-shdc --help

On Linux this builds a statically linked executable. If this doesn't work for some reason, build via Docker instead (which will compile inside an Alpine image):

./build_docker.sh

To build for IDE debugging use any of the following build configs:

./fibs config macos-xcode-debug
./fibs config macos-vscode-debug
./fibs config win-vstudio-debug
./fibs config win-vscode-debug
./fibs config linux-vscode-debug

...then launch the project in VStudio, Xcode or VSCode via:

./fibs open

For more information about fibs see https://github.com/floooh/fibs

Dependencies

Many thanks to:

Contributors

(top 30 of 34)

floooh

667 commits

Interrupt

12 commits

code-disaster

8 commits

radekm

5 commits

Languages

C++

84.1%

GLSL

8.4%

TypeScript

2.9%

Zig

2.8%

C

1.5%