Getting started
Supported architectures
<ARCH> | Description |
---|---|
| Apple Intel |
| Apple Arm |
| Linux, SteamDeck |
| Linux ARM |
| Windows |
Prerequisite
Get ZIG
Get ZIG 0.14.0
.
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 |
---|---|---|---|
|
|
| Load dynamic modules? |
|
|
| Quit after kernel make n ticks. |
|
|
| Kernel frame rate. |
|
|
| Without creating real window. |
|
|
| Path to asset root. (project path) |
|
|
| 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.
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
Tracy profiler
CETech1 has builtin support for tracy profiler.