summaryrefslogtreecommitdiff
path: root/Client/ThirdParty/Box2D/build_docs.sh
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-13 00:07:19 +0800
committerchai <chaifix@163.com>2021-12-13 00:07:19 +0800
commit60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch)
treeb2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/ThirdParty/Box2D/build_docs.sh
+init
Diffstat (limited to 'Client/ThirdParty/Box2D/build_docs.sh')
-rw-r--r--Client/ThirdParty/Box2D/build_docs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Client/ThirdParty/Box2D/build_docs.sh b/Client/ThirdParty/Box2D/build_docs.sh
new file mode 100644
index 0000000..93e124d
--- /dev/null
+++ b/Client/ThirdParty/Box2D/build_docs.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# Builds Box2D along with documentation
+rm -rf build
+mkdir build
+cd build
+cmake -DBOX2D_BUILD_DOCS=ON ..
+cmake --build .