summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 47c1441..f974233 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-To install box2d:
+To install box2d on Linux/OS X:
```bash
git clone https://github.com/erincatto/box2d/
cd box2d
@@ -7,3 +7,16 @@ cd build
cmake -DBOX2D_BUILD_TESTBED=False ..
sudo make -j8 install
```
+On Windows (you need `vcvarsall.bat` and `git` in your PATH):
+```bash
+vcvarsall x64
+git clone https://github.com/erincatto/box2d/
+cd box2d
+xcopy /s /i include\box2d ..\box2d
+mkdir build
+cd build
+cmake ..
+cmake --build . --config Release
+copy bin\Release\box2d.lib ..\..
+```
+You will also need SDL2.