Getting started
Supported architectures
<ARCH> | Description |
|---|---|
| Apple Intel |
| Apple Arm |
| Linux, SteamDeck |
| Linux ARM |
| Windows |
Prerequisite
Clone
Get ZIG
Get ZIG 0.15.1.
NVim
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=VSCode
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
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)
Build
Args | Value | Default | Description |
|---|---|---|---|
|
|
| Build all modules in dynamic mode. |
|
|
| Build all modules in static mode. |
|
|
| Build with sample modules. |
|
|
| Build with studio 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. |
Tracy profiler
CETech1 has builtin support for tracy profiler and provide Tracy as submodule, but you must build it first.