@@ -84,22 +84,23 @@ Get ZIG `0.15.1`.
8484> Bool arguments does not need value 1 for true value. ex.: ` --fullscreen ` is equal ` --fullscreen 1 `
8585> {style="note"}
8686
87- | Args | Value | Default | Description |
88- | --------------------------| --------------------------------| -----------| ---------------------------------------------|
89- | ` --load-dynamic ` | ` 1 ` or ` 0 ` | ` 1 ` | Load dynamic modules? |
90- | ` --max-kernel-tick ` | ` n ` | ` null ` | Quit after kernel make n ticks. |
91- | ` --max-kernel-tick-rate ` | ` n ` | ` 60 ` | Kernel frame rate. |
92- | ` --headless ` | ` 1 ` or ` 0 ` | ` 0 ` | Without creating real window. |
93- | ` --asset-root ` | ` str ` | ` null ` | Path to asset root. (project path) |
94- | ` --renderer-debug ` | ` 1 ` or ` 0 ` | ` 0 ` | Render backed debug. (shaders) |
95- | ` --renderer-profile ` | ` 1 ` or ` 0 ` | ` 0 ` | Render backed profile. (shaders) |
96- | ` --vsync ` | ` 1 ` or ` 0 ` | ` 0 ` | Vsync. |
97- | ` --fullscreen ` | ` 1 ` or ` 0 ` | ` 0 ` | Force full-screen mode, nice for SteamDeck. |
98- | ` --worker-count ` | number | cpu count | Max threads for task system. |
99- | ` --test-ui ` | ` 1 ` or ` 0 ` | ` 0 ` | Run UI tests and quit. |
100- | ` --test-ui-filter ` | ` str ` | ` all ` | Run only ui tests that pass this filter. |
101- | ` --test-ui-speed ` | ` fast ` , ` normal ` , ` cinematic ` | ` fast ` | UI test speed. |
102- | ` --test-ui-junit ` | ` str ` | ` null ` | UI test JUnit result filename. |
87+ | Args | Value | Default | Description |
88+ | --------------------------| -------------------------------------------------------| -----------------| ---------------------------------------------|
89+ | ` --asset-root ` | ` str ` | ` null ` | Path to asset root. (project path) |
90+ | ` --load-dynamic ` | ` 1 ` or ` 0 ` | ` 1 ` | Load dynamic modules? |
91+ | ` --max-kernel-tick ` | ` n ` | ` null ` | Quit after kernel make n ticks. |
92+ | ` --max-kernel-tick-rate ` | ` n ` | ` 60 ` | Kernel frame rate. |
93+ | ` --worker-count ` | number | CPU count | Max threads for task system. |
94+ | ` --renderer ` | ` bgfx_metal ` , ` bgfx_vulkan ` , ` bgfx_dx12 ` , ` bgfx_noop ` | Autoselect best | Render backed. |
95+ | ` --renderer-debug ` | ` 1 ` or ` 0 ` | ` 0 ` | Render backed debug. (shaders) |
96+ | ` --renderer-profile ` | ` 1 ` or ` 0 ` | ` 0 ` | Render backed profile. (shaders) |
97+ | ` --headless ` | ` 1 ` or ` 0 ` | ` 0 ` | Without creating real window. |
98+ | ` --vsync ` | ` 1 ` or ` 0 ` | ` 0 ` | Vsync. |
99+ | ` --fullscreen ` | ` 1 ` or ` 0 ` | ` 0 ` | Force full-screen mode, nice for SteamDeck. |
100+ | ` --test-ui ` | ` 1 ` or ` 0 ` | ` 0 ` | Run UI tests and quit. |
101+ | ` --test-ui-filter ` | ` str ` | ` all ` | Run only ui tests that pass this filter. |
102+ | ` --test-ui-speed ` | ` fast ` , ` normal ` , ` cinematic ` | ` fast ` | UI test speed. |
103+ | ` --test-ui-junit ` | ` str ` | ` null ` | UI test JUnit result filename. |
103104
104105## ZLS
105106
@@ -122,40 +123,6 @@ CETech provide ZLS as submodule, but you must build it.
122123 </tab>
123124</tabs >
124125
125- ## VSCode
126-
127- > Repository contain recommended extension.
128-
129- 1 . Create vscode configs.
130- <code-block lang =" bash " >
131- # This generate vscode launch.json with predefined cases
132- # create or update settings.json
133- # and set zls path to locally builded
134- zig build gen-ide -Dide=vscode
135- </code-block >
136- 2 . Install extension ` ziglang.vscode-zig ` (or install all recommended)
137-
138- ## Fleet
139-
140- 1 . Create fleet configs.
141- <code-block lang =" bash " >
142- # This generate fleet run.json with predefined cases
143- # create or update settings.json
144- # and set zls path to locally builded
145- zig build gen-ide -Dide=fleet
146- </code-block >
147-
148- ## Idea
149-
150- Need [ zigbrains] ( https://plugins.jetbrains.com/plugin/22456-zigbrains )
151-
152- 1 . Create idea configs.
153- <code-block lang =" bash " >
154- # This generate basic files in .idea and run configuration predefined cases
155- # and set zls path to locally builded
156- zig build gen-ide -Dide=idea
157- </code-block >
158-
159126## Tracy profiler
160127
161128CETech1 has builtin support for tracy profiler and provide Tracy as submodule, but you must build it first.
@@ -168,15 +135,15 @@ CETech1 has builtin support for tracy profiler and provide Tracy as submodule, b
168135 git submodule update --init externals/shared/repo/tracy
169136 cd externals/shared/repo/tracy
170137 cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release
171- make -C profiler/build
138+ cmake --build profiler/build --parallel --config Release
172139 </code-block>
173140 </tab>
174141 <tab title="Windows">
175142 <code-block lang="bash">
176143 git submodule update --init externals/shared/repo/tracy
177144 cd externals/shared/repo/tracy
178145 cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release
179- make -C profiler/build
146+ cmake --build profiler/build --parallel --config Release
180147 </code-block>
181148 </tab>
182149</tabs >
@@ -198,3 +165,37 @@ CETech1 has builtin support for tracy profiler and provide Tracy as submodule, b
198165 </code-block>
199166 </tab>
200167</tabs >
168+
169+ ## VSCode
170+
171+ > Repository contain recommended extension.
172+
173+ 1 . Create vscode configs.
174+ <code-block lang =" bash " >
175+ # This generate vscode launch.json with predefined cases
176+ # create or update settings.json
177+ # and set zls path to locally builded
178+ zig build gen-ide -Dide=vscode
179+ </code-block >
180+ 2 . Install extension ` ziglang.vscode-zig ` (or install all recommended)
181+
182+ ## Fleet
183+
184+ 1 . Create fleet configs.
185+ <code-block lang =" bash " >
186+ # This generate fleet run.json with predefined cases
187+ # create or update settings.json
188+ # and set zls path to locally builded
189+ zig build gen-ide -Dide=fleet
190+ </code-block >
191+
192+ ## Idea
193+
194+ Need [ zigbrains] ( https://plugins.jetbrains.com/plugin/22456-zigbrains )
195+
196+ 1 . Create idea configs.
197+ <code-block lang =" bash " >
198+ # This generate basic files in .idea and run configuration predefined cases
199+ # and set zls path to locally builded
200+ zig build gen-ide -Dide=idea
201+ </code-block >
0 commit comments