Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
21894e42
Unverified
Commit
21894e42
authored
Apr 17, 2020
by
Rémi Verschelde
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37958 from akien-mga/scons-no-werror-on-stable
SCons: Disable -Werror on 'stable' releases
parents
17304f1a
26ab805c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
SConstruct
SConstruct
+3
-1
No files found.
SConstruct
View file @
21894e42
...
...
@@ -12,6 +12,7 @@ import sys
# Local
import
methods
import
gles_builders
import
version
from
platform_methods
import
run_in_subprocess
# Scan possible build platforms
...
...
@@ -72,6 +73,7 @@ env_base.disabled_modules = []
env_base
.
use_ptrcall
=
False
env_base
.
module_version_string
=
""
env_base
.
msvc
=
False
env_base
.
stable_release
=
version
.
status
==
"stable"
env_base
.
__class__
.
disable_module
=
methods
.
disable_module
...
...
@@ -126,7 +128,7 @@ opts.Add(BoolVariable("xaudio2", "Enable the XAudio2 audio driver", False))
opts
.
Add
(
BoolVariable
(
"verbose"
,
"Enable verbose output for the compilation"
,
False
))
opts
.
Add
(
BoolVariable
(
"progress"
,
"Show a progress indicator during compilation"
,
True
))
opts
.
Add
(
EnumVariable
(
"warnings"
,
"Level of compilation warnings"
,
"all"
,
(
"extra"
,
"all"
,
"moderate"
,
"no"
)))
opts
.
Add
(
BoolVariable
(
"werror"
,
"Treat compiler warnings as errors"
,
Tru
e
))
opts
.
Add
(
BoolVariable
(
"werror"
,
"Treat compiler warnings as errors"
,
not
env_base
.
stable_releas
e
))
opts
.
Add
(
BoolVariable
(
"dev"
,
"If yes, alias for verbose=yes warnings=extra werror=yes"
,
False
))
opts
.
Add
(
"extra_suffix"
,
"Custom extra suffix added to the base filename of all generated binary files"
,
""
)
opts
.
Add
(
BoolVariable
(
"vsproj"
,
"Generate a Visual Studio solution"
,
False
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment