added -DCMAKE_EXPORT_COMPILE_COMMANDS to debug and release build scripts

pull/2/head
Sara 2023-05-07 17:54:14 +02:00
parent 2a2ea2c784
commit 0bdfba4d11
2 changed files with 2 additions and 2 deletions

2
debug
View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug && cmake --build build && lldb bin/sim-game -o r -b cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 && cmake --build build && lldb bin/sim-game -o r -b

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build && bin/sim-game cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 && cmake --build build && bin/sim-game