Upload libsourcepawn debug symbols

This commit is contained in:
Asher Baker 2021-12-12 14:43:32 +00:00 committed by Your Name
parent 1d5ec7b982
commit 88dd142f5c

View File

@ -74,7 +74,7 @@ helpers.CopySpcomp('addons/sourcemod/scripting')
# Export PDB files. We write to a file in the build folder which is pretty # Export PDB files. We write to a file in the build folder which is pretty
# verboten, but it's okay if it's in the root since AMBuild will never try # verboten, but it's okay if it's in the root since AMBuild will never try
# to rmdir the root. # to rmdir the root.
full_binary_list = SM.binaries + SM.extensions + SM.spcomp_bins full_binary_list = SM.binaries + SM.extensions + SM.spvm + SM.spcomp_bins
with open(os.path.join(builder.buildPath, 'pdblog.txt'), 'w') as fp: with open(os.path.join(builder.buildPath, 'pdblog.txt'), 'w') as fp:
for task in full_binary_list: for task in full_binary_list:
fp.write(task.debug.path + '\n') fp.write(task.debug.path + '\n')