Getting started
Supported architectures
<ARCH> | Description |
|---|---|
| Apple Intel |
| Apple Arm |
| Linux, SteamDeck |
| Linux ARM |
| Windows |
Prerequisite
Get ZIG
Get ZIG 0.15.1.
Get ZVM
Clone
Build
Args | Value | Default | Description |
|---|---|---|---|
|
|
| Build all modules in dynamic mode. |
|
|
| Build all modules in static mode. |
|
|
| Build with sample modules. |
|
|
| Build with editor modules. |
|
|
| Build with tracy support. |
|
|
| Build with NFD (native file dialog) |
|
|
| Build NFD with xdg-desktop-portal instead of GTK. Linux, nice for SteamDeck |
Run
Args | Value | Default | Description |
|---|---|---|---|
|
|
| Path to asset root. (project path) |
|
|
| Load dynamic modules? |
|
|
| Quit after kernel make n ticks. |
|
|
| Kernel frame rate. |
| number | CPU count | Max threads for task system. |
|
| Autoselect best | Render backed. |
|
|
| Render backed debug. (shaders) |
|
|
| Render backed profile. (shaders) |
|
|
| Without creating real window. |
|
|
| Vsync. |
|
|
| Force full-screen mode, nice for SteamDeck. |
|
|
| Run UI tests and quit. |
|
|
| Run only ui tests that pass this filter. |
|
|
| UI test speed. |
|
|
| UI test JUnit result filename. |
ZLS
CETech provide ZLS as submodule, but you must build it.
Tracy profiler
CETech1 has builtin support for tracy profiler and provide Tracy as submodule, but you must build it first.
VSCode
Create vscode configs.
# This generate vscode launch.json with predefined cases # create or update settings.json # and set zls path to locally builded zig build gen-ide -Dide=vscodeInstall extension
ziglang.vscode-zig(or install all recommended)
Fleet
Create fleet configs.
# This generate fleet run.json with predefined cases # create or update settings.json # and set zls path to locally builded zig build gen-ide -Dide=fleet
Idea
Need zigbrains
Create idea configs.
# This generate basic files in .idea and run configuration predefined cases # and set zls path to locally builded zig build gen-ide -Dide=idea