A generator to generate C++ project using bazel.
bazelexists in your system path. bazelisk is recommended since it also manages bazel versions.
npm install -g yo npm install -g generator-bazel-cpp
Then generate your new project:
Once project structure has been changed, run
./gencomp.sh and restart clangd server in VSCode.
launch.json has been configured to debug unit tests. To start debugging, just set breaking points and focus on your test file, click
Run Debug Test.
Debug using TestMate
This project has been configured to adapt the extension. To start running or debugging unit tests, build tests (with VSCode build task or in the terminal) first and then test suites will be shown in the test explorer.
MIT © ajihyf