summaryrefslogtreecommitdiff
path: root/drivers/convex_decomp/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-29 22:57:49 +0200
committerGitHub <noreply@github.com>2017-04-29 22:57:49 +0200
commitde7eba887e9fe940dac0958836fa8fb778628d2a (patch)
tree93b80fde60db3117b649190daa7918105a4d4e11 /drivers/convex_decomp/SCsub
parentea9dd6c0c1997b2c6d8bba6caa1da965ef40804f (diff)
parentd4029aa51a0f0bce5dc73885af74b592e3aa33b7 (diff)
Merge pull request #8572 from akien-mga/thirdparty
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
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')