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: