summaryrefslogtreecommitdiff
path: root/editor/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-01 10:59:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-10-01 11:59:22 +0200
commit6bfb7944d9a1639042ba23fd0ff9950fff9464dd (patch)
tree1c2c5e8253a7ed84cee097a1390bd0d8e53bbe75 /editor/SCsub
parentc51caa3dbdf4acaa7e063c46ae8026adb0633008 (diff)
SCons: Remove avoidable defines from main env's CPPPATH
Also finally move freetype to its own env and disable warnings for it. Still needs some work to fix the awkward situation of the freetype and svg modules used in scene/ and editor/ respectively.
Diffstat (limited to 'editor/SCsub')
-rw-r--r--editor/SCsub4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/SCsub b/editor/SCsub
index d5ac8c7008..82a4ecb6c0 100644
--- a/editor/SCsub
+++ b/editor/SCsub
@@ -79,7 +79,9 @@ if env['tools']:
env.CommandNoCache('#editor/builtin_fonts.gen.h', flist, run_in_subprocess(editor_builders.make_fonts_header))
env.add_source_files(env.editor_sources, "*.cpp")
- env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])
+ env_thirdparty = env.Clone()
+ env_thirdparty.disable_warnings()
+ env_thirdparty.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])
SConscript('collada/SCsub')
SConscript('doc/SCsub')