Build polygon clipper only in tools builds
This commit is contained in:
parent
e619727e99
commit
fa760082f5
2 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,6 @@ thirdparty_sources = [
|
||||||
"md5.cpp",
|
"md5.cpp",
|
||||||
"pcg.cpp",
|
"pcg.cpp",
|
||||||
"triangulator.cpp",
|
"triangulator.cpp",
|
||||||
"clipper.cpp",
|
|
||||||
]
|
]
|
||||||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||||
env.add_source_files(env.core_sources, 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, "*.cpp")
|
||||||
|
env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])
|
||||||
|
|
||||||
SConscript('collada/SCsub')
|
SConscript('collada/SCsub')
|
||||||
SConscript('doc/SCsub')
|
SConscript('doc/SCsub')
|
||||||
|
|
Loading…
Reference in a new issue