mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-25 08:00:35 +00:00
modify build scripts to generate .debug files with debug info
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user