modify build scripts to generate .debug files with debug info

This commit is contained in:
Lion Kortlepel
2023-12-21 11:13:51 +01:00
parent f28d9bc7dc
commit 142b6fa47a
4 changed files with 12 additions and 2 deletions
+5
View File
@@ -3,3 +3,8 @@
set -ex
cmake --build bin --parallel -t BeamMP-Server
objcopy --only-keep-debug bin/BeamMP-Server bin/BeamMP-Server.debug
objcopy --add-gnu-debuglink bin/BeamMP-Server bin/BeamMP-Server.debug
strip -s bin/BeamMP-Server