Added threads postfix for build words.

This commit is contained in:
Relintai 2022-01-28 14:14:51 +01:00
parent 61cfc92beb
commit 9610e56c9a
2 changed files with 10 additions and 0 deletions

View File

@ -354,6 +354,12 @@ Appends `debug_symbols=no` to the build command, which will strip the resulting
``` scons bel_strip -j4 ``` ``` scons bel_strip -j4 ```
##### threads
Appends `threads_enabled=yes` to the build command. Useful for building the editor for html.
``` scons bej_threads -j4 ```
#### Scons cache, and sdk locations #### Scons cache, and sdk locations
In order to use scons cache and to tell the build system where some of the required sdks are located you usually In order to use scons cache and to tell the build system where some of the required sdks are located you usually

View File

@ -433,6 +433,10 @@ if len(sys.argv) > 1:
build_string += 'debug_symbols=no' build_string += 'debug_symbols=no'
build_string += ' ' build_string += ' '
if 'threads' in arg_split:
build_string += 'threads_enabled=yes'
build_string += ' '
target = ' ' target = ' '
if 'E' in arg: if 'E' in arg: