summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-10-21 09:29:23 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-10-24 18:33:50 +0000
commit54053bc8d0dad89a38e2179050831f64a02ea4ec (patch)
tree1bc1f097993619b6d8f6073f680c088369a9b046 /common.py
parent79e73887e7c9a0c2759e7e66a0e1a90c884ceacb (diff)
scons: Print a deprecation warning about using scons on not windows
At this point meson should be able to handle all of the non-windows platforms just fine; we'd like to be able to stop maintaining scons for those platforms sooner than later. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'common.py')
-rw-r--r--common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.py b/common.py
index 51dba9c3ca0..b7762cb4e94 100644
--- a/common.py
+++ b/common.py
@@ -112,6 +112,7 @@ def AddOptions(opts):
opts.Add(BoolOption('asan', 'enable Address Sanitizer', 'no'))
opts.Add('toolchain', 'compiler toolchain', default_toolchain)
opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
+ opts.Add(BoolOption('force_scons', 'Force enable scons on deprecated platforms', 'false'))
opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)',
'no'))
opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes'))