hy3/compile_commands_bear.sh
2023-04-19 20:28:56 -07:00

4 lines
142 B
Bash
Executable file

rm -rf build
cmake -DCMAKE_BUILD_TYPE=Debug -B build
bear -- cmake --build build
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json