Adding BHL_MAX_THREADS property support
This commit is contained in:
parent
1b002fb0ce
commit
170493979c
|
@ -238,7 +238,7 @@ function bhl_run_ex($bhl_inc_dir, array $bhl_files, $result_file, $debug = true,
|
||||||
"--tmp-dir=$GAME_ROOT/build/bhl/ " .
|
"--tmp-dir=$GAME_ROOT/build/bhl/ " .
|
||||||
"--error=$GAME_ROOT/build/bhl.error " .
|
"--error=$GAME_ROOT/build/bhl.error " .
|
||||||
"--deterministic " .
|
"--deterministic " .
|
||||||
"--threads=" . (is_win() ? 1 : 4) . " " .
|
"--threads=" . getor("BHL_MAX_THREADS", is_win() ? 1 : 4) . " " .
|
||||||
($debug ? " -d" : "") . " " .
|
($debug ? " -d" : "") . " " .
|
||||||
($force ? " -C" : "") . " ".
|
($force ? " -C" : "") . " ".
|
||||||
(!$check_deps ? " -N" : "") . " ",
|
(!$check_deps ? " -N" : "") . " ",
|
||||||
|
|
Loading…
Reference in New Issue