Install clangd.
mkdir
build
folder. cd
into build
folder and run
cmake ..
make
To run program
cd bin
./main
compile_commands.json
will be created in build
directory. Symlink it (or simply copy it) to the root directory. To symlink it, cd
to the root and
ln -s build/compile_commands.json.
We use bash environment with native CMake and Ninja. We build and compile with MSBuild and MSVC toolchain.
cd build/ && cmake ..
cd build && MSBuild.exe -target:Build /property:Configuration=Release .\boilerplate.sln
cd bin && main.exe
cd ninja && cmake -G"Ninja" .. && mv compile_commands.json ..