diff --git a/README.md b/README.md index 1f583755..4cca9868 100644 --- a/README.md +++ b/README.md @@ -354,6 +354,12 @@ Appends `debug_symbols=no` to the build command, which will strip the resulting ``` 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 In order to use scons cache and to tell the build system where some of the required sdks are located you usually diff --git a/SConstruct b/SConstruct index 365b1f6d..e93d3cd1 100644 --- a/SConstruct +++ b/SConstruct @@ -433,6 +433,10 @@ if len(sys.argv) > 1: build_string += 'debug_symbols=no' build_string += ' ' + if 'threads' in arg_split: + build_string += 'threads_enabled=yes' + build_string += ' ' + target = ' ' if 'E' in arg: