git-subtree-dir: shape git-subtree-mainline:f61860e87egit-subtree-split:8c82294c91
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-shapeuses custom targetzig build -fincrementaland executeszig-out/bin/zig-shape.exe-unit-testsuses custom targetzig build -fincremental build-testsand executeszig-out/dev/exe-unit-testslib-unit-testsuses custom targetzig build -fincremental build-testsand 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.