From 3a2ca68af3c8bafe9f60f09bd8fece894fe3a925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 28 Sep 2018 13:29:52 +0200 Subject: SCons: Build thirdparty code in own env, disable warnings Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects. --- core/SCsub | 1 + 1 file changed, 1 insertion(+) (limited to 'core/SCsub') diff --git a/core/SCsub b/core/SCsub index 9df7843c81..c6d0b7e5b1 100644 --- a/core/SCsub +++ b/core/SCsub @@ -56,6 +56,7 @@ with open("script_encryption_key.gen.cpp", "w") as f: # Add required thirdparty code. env_thirdparty = env.Clone() +env_thirdparty.disable_warnings() # Misc thirdparty code: header paths are hardcoded, we don't need to append # to the include path (saves a few chars on the compiler invocation for touchy MSVC...) -- cgit v1.2.3