Build polygon clipper only in tools builds
This commit is contained in:
parent
e619727e99
commit
fa760082f5
|
@ -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)
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue