a55775e21d1787b51891906664024a41a8076a8e
Configuring CLion for debugging
Use https://github.com/asdf-vm/asdf with https://github.com/allemangd/asdf-zig for the versioned zig master in .tool-versions
.
Build ZLS with that zig and point ZigBrains to it.
Custom Build Application configurations:
zig-shape
uses custom targetzig build -fincremental
and executeszig-out/bin/zig-shape
.exe-unit-tests
uses custom targetzig build -fincremental build-tests
and executeszig-out/dev/exe-unit-tests
lib-unit-tests
uses custom targetzig build -fincremental build-tests
and executeszig-out/dev/lib-unit-tests
Then native "build", "run", and "debug" buttons will work.
Optionally create a "clean" target that executes rm -r .zig-cache zig-out
Switching between debug and release build is more difficult. Probably easier to run release builds
only via CLI, like zig build --release=fast
or zig build --release=fast test
.
Description
Languages
HTML
56.9%
Zig
42.6%
Python
0.5%