Fix compile_commands_bear.sh

This commit is contained in:
outfoxxed 2023-04-19 20:28:56 -07:00
parent aebaf0e606
commit 7c137f13f9
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

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