summaryrefslogtreecommitdiff
path: root/drivers/convex_decomp/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-28 19:28:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-28 21:19:25 +0200
commitd4029aa51a0f0bce5dc73885af74b592e3aa33b7 (patch)
tree22848a9191aca36a38b6f0bda4c313c3349f2eab /drivers/convex_decomp/SCsub
parentc5f830d6b90574ef1e34fd2c35a0ebfa1ad92fe6 (diff)
Move other lone thirdparty files to thirdparty/misc
Also move Box2D ConvexDecomposition contrib code to thirdparty/b2d_convexdecomp.
Diffstat (limited to 'drivers/convex_decomp/SCsub')
-rw-r--r--drivers/convex_decomp/SCsub9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/convex_decomp/SCsub b/drivers/convex_decomp/SCsub
index ee39fd2631..f017e55120 100644
--- a/drivers/convex_decomp/SCsub
+++ b/drivers/convex_decomp/SCsub
@@ -4,4 +4,13 @@ Import('env')
env.add_source_files(env.drivers_sources, "*.cpp")
+# Thirdparty dependencies
+thirdparty_dir = "#thirdparty/b2d_convexdecomp/"
+thirdparty_sources = [
+ "b2Polygon.cpp",
+ "b2Triangle.cpp",
+]
+thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
+env.add_source_files(env.drivers_sources, thirdparty_sources)
+
Export('env')