Remove --package-debug configure option.
It is no longer needed since debugging symbols should be present in binaries by default now.
This commit is contained in:
parent
1a89edec47
commit
e65d11f4de
@ -25,6 +25,4 @@ run.options.add_option('-s', '--sdks', default='all', dest='sdks',
|
|||||||
'comma-delimited list of engine names (default: %default)')
|
'comma-delimited list of engine names (default: %default)')
|
||||||
run.options.add_option('--breakpad-dump', action='store_true', dest='breakpad_dump',
|
run.options.add_option('--breakpad-dump', action='store_true', dest='breakpad_dump',
|
||||||
default=False, help='Dump and upload breakpad symbols')
|
default=False, help='Dump and upload breakpad symbols')
|
||||||
run.options.add_option('--package-debug', action='store_true', default=False, dest='packdebug',
|
|
||||||
help='Package files useful for debugging.')
|
|
||||||
run.Configure()
|
run.Configure()
|
||||||
|
@ -51,13 +51,6 @@ for cxx_task in SM.extensions:
|
|||||||
builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/extensions'])
|
builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/extensions'])
|
||||||
builder.AddCopy(SM.spcomp.binary, folder_map['addons/sourcemod/scripting'])
|
builder.AddCopy(SM.spcomp.binary, folder_map['addons/sourcemod/scripting'])
|
||||||
|
|
||||||
# Copy debugging files.
|
|
||||||
if builder.options.packdebug and builder.target_platform != 'mac':
|
|
||||||
for cxx_task in SM.binaries:
|
|
||||||
builder.AddCopy(cxx_task.debug, folder_map['addons/sourcemod/bin'])
|
|
||||||
for cxx_task in SM.extensions:
|
|
||||||
builder.AddCopy(cxx_task.debug, folder_map['addons/sourcemod/extensions'])
|
|
||||||
|
|
||||||
# Copy version_auto.inc.
|
# Copy version_auto.inc.
|
||||||
for header in SM.generated_headers:
|
for header in SM.generated_headers:
|
||||||
if 'version_auto.inc' in header.path:
|
if 'version_auto.inc' in header.path:
|
||||||
@ -470,4 +463,4 @@ CopyFiles('plugins/playercommands', 'addons/sourcemod/scripting/playercommands',
|
|||||||
if builder.target_platform == 'windows':
|
if builder.target_platform == 'windows':
|
||||||
CopyFiles('sourcepawn/batchtool', 'addons/sourcemod/scripting', ['compile.exe'])
|
CopyFiles('sourcepawn/batchtool', 'addons/sourcemod/scripting', ['compile.exe'])
|
||||||
else:
|
else:
|
||||||
CopyFiles('plugins', 'addons/sourcemod/scripting', ['compile.sh'])
|
CopyFiles('plugins', 'addons/sourcemod/scripting', ['compile.sh'])
|
||||||
|
Loading…
Reference in New Issue
Block a user