Add option to build minimized debug symbols

Related to 621f4c5add
This commit is contained in:
Lars Toenning
2023-11-14 19:51:38 +01:00
parent ea937c6a27
commit 297c78c326
2 changed files with 11 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class Builder:
'..',
'-G {}'.format(self._get_generator()),
'-DCMAKE_BUILD_TYPE=RelWithDebInfo',
'-DSWIFT_MINIFY_DEBUG_SYMBOLS=ON',
'-DCMAKE_INSTALL_PREFIX=../dist',
'-DSWIFT_USE_CRASHPAD={}'.format(use_crashpad)] + cmake_args
subprocess.check_call(cmake_call, env=dict(os.environ))