diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 10:21:12 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 11:30:24 -0600 |
commit | 66fe2c8b44f34ea72892fed9594396d33a59f251 (patch) | |
tree | f524cc3d3b482c3df0fda0ce7d6c23b5622afae8 /SConstruct | |
parent | caff0ff591ed63234474c46a6fd868661aa8ea01 (diff) | |
download | redot-engine-66fe2c8b44f34ea72892fed9594396d33a59f251.tar.gz |
SCons: Bump minimum SCons & Python versions
SCons: 3.1.2 → 4.0
Python: 3.6 → 3.8
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/SConstruct b/SConstruct index ee34d421e0..3a01a3f41e 100644 --- a/SConstruct +++ b/SConstruct @@ -1,8 +1,8 @@ #!/usr/bin/env python from misc.utility.scons_hints import * -EnsureSConsVersion(3, 1, 2) -EnsurePythonVersion(3, 6) +EnsureSConsVersion(4, 0) +EnsurePythonVersion(3, 8) # System import atexit @@ -1060,13 +1060,6 @@ if env["vsproj"]: env.vs_srcs = [] if env["compiledb"]: - if env.scons_version < (4, 0, 0): - # Generating the compilation DB (`compile_commands.json`) requires SCons 4.0.0 or later. - print_error( - "The `compiledb=yes` option requires SCons 4.0 or later, but your version is %s." % scons_raw_version - ) - Exit(255) - env.Tool("compilation_db") env.Alias("compiledb", env.CompilationDatabase()) |