diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-28 13:29:52 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-28 14:07:39 +0200 |
commit | 3a2ca68af3c8bafe9f60f09bd8fece894fe3a925 (patch) | |
tree | c33aa8ccee82b26d868fbc91abed94e2480864c2 /core | |
parent | 243bdc4524ddcf8ac6bef03c378e14fe7bb263b8 (diff) |
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.
Diffstat (limited to 'core')
-rw-r--r-- | core/SCsub | 1 |
1 files changed, 1 insertions, 0 deletions
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...) |