Merge pull request #17319 from eska014/polyclipper-toolsonly

Build polygon clipper only in tools builds
This commit is contained in:
Rémi Verschelde 2018-03-13 11:01:28 +01:00 committed by GitHub
commit 08415d0f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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')