Build polygon clipper only in tools builds

This commit is contained in:
Leon Krause 2018-03-06 21:50:35 +01:00
parent e619727e99
commit fa760082f5
2 changed files with 1 additions and 1 deletions

View file

@ -68,7 +68,6 @@ thirdparty_sources = [
"md5.cpp",
"pcg.cpp",
"triangulator.cpp",
"clipper.cpp",
]
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env.add_source_files(env.core_sources, thirdparty_sources)

View file

@ -466,6 +466,7 @@ if env['tools']:
env.add_source_files(env.editor_sources, "*.cpp")
env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])
SConscript('collada/SCsub')
SConscript('doc/SCsub')