From 61ed9891c7c5c231c755f96afda7a0341fcf02e4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 21 Oct 2019 10:18:50 -0700 Subject: 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 --- SConstruct | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3