Add c build word letter to pass the new compiledb=yes parameter to the engine's build script.

This commit is contained in:
Relintai 2022-02-12 17:59:18 +01:00
parent c03c8ac8a7
commit 104f00aa80
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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: