summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-10-21 10:18:50 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-10-24 18:33:50 +0000
commit61ed9891c7c5c231c755f96afda7a0341fcf02e4 (patch)
tree3516d889c862b0276b70e5c7b5fcab5ad3606fdf
parent54053bc8d0dad89a38e2179050831f64a02ea4ec (diff)
downloadmesa-61ed9891c7c5c231c755f96afda7a0341fcf02e4.tar.gz
mesa-61ed9891c7c5c231c755f96afda7a0341fcf02e4.tar.bz2
mesa-61ed9891c7c5c231c755f96afda7a0341fcf02e4.zip
scons: Also print a deprecation warning on windows
This warning is different. Meson support for windows is less mature than for other platforms, and the goal here is to alert people that eventually we plan to drop scons and move to meson, and that they should try out meson and report issues. Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index aeb1309d464..61a915f7deb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -81,6 +81,13 @@ if common.host_platform != 'windows':
"please use meson instead. If you really need to use scons you "
"can add `force_scons=1` to the scons command line.", file=sys.stderr)
sys.exit(1)
+else:
+ print("WARNING: Scons support is in the process of being deprecated on "
+ "on windows platforms (including mingw). If you haven't already "
+ "please try using meson for windows builds. Be sure to report any "
+ "issues you run into", file=sys.stderr)
+
+
#######################################################################
# Environment setup