behaviour-tree-test/engine/platform/linuxbsd/platform_linuxbsd_builders.py
Sara c3f9669b10 Add 'engine/' from commit 'a8e37fc010'
git-subtree-dir: engine
git-subtree-mainline: b74841629e
git-subtree-split: a8e37fc010
2026-03-13 11:22:19 +01:00

10 lines
382 B
Python

"""Functions used to generate source files during build time"""
import os
def make_debug_linuxbsd(target, source, env):
dst = str(target[0])
os.system('objcopy --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst))
os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst))
os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))