From 9610e56c9a0dc530667d68958acde127af6e32f0 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 28 Jan 2022 14:14:51 +0100 Subject: [PATCH] Added threads postfix for build words. --- README.md | 6 ++++++ SConstruct | 4 ++++ 2 files changed, 10 insertions(+) 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: