summaryrefslogtreecommitdiff
path: root/drivers/convex_decomp/SCsub
diff options
context:
space:
mode:
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')