From 104f00aa80b43f4ad241bf97249eb47ed9868e35 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 12 Feb 2022 17:59:18 +0100 Subject: [PATCH] Add c build word letter to pass the new compiledb=yes parameter to the engine's build script. --- README.md | 3 ++- SConstruct | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cca9868..d8f154dc 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,8 @@ Note: to easily run the editor you can use the `editor.sh` or `editor.bat` in th #### Other -Append `v` to pass the `vsproj=yes` parameter to the build script. This will generate Visual Studio project files. +Append `v` to pass the `vsproj=yes` parameter to the build script. This will generate Visual Studio project files.\ +Append `c` to pass the `compiledb=yes` parameter to the build script. This is a new feature in 3.x to have this disabled by default to lessen compile times. #### Postfixes diff --git a/SConstruct b/SConstruct index 3fd7b9a1..720dac47 100644 --- a/SConstruct +++ b/SConstruct @@ -443,6 +443,10 @@ if len(sys.argv) > 1: build_string += 'threads_enabled=yes' build_string += ' ' + if 'c' in arg: + build_string += 'compiledb=yes' + build_string += ' ' + target = ' ' if 'E' in arg: