Great Job

Hey, awesome library. I've been workign on my own 2d physics engine off and on for a few months but it's nowhere near as useful as this one.

I added support for cmake. This makes it much easier to manage than trying to keep several build systems up to date. I attached the cmake file. just put it in the Box2D directory and it should work (I used the latest version from the download page, so I don't know if it has all the files needed for the bleeding edge version)
Thanks, I will include this in v2.0.
I get a bulk of linking errors like the followings:

[ 31%] Built target Box2D
[ 68%] Built target glui
[ 94%] Built target freeglut
Linking CXX executable ../Bin/TestBed.exe
CMakeFiles/TestBed.dir/Examples/TestBed/Framework/Main.obj(.text+0x6d):Main.cpp:
undefined reference to `glViewport@16'
CMakeFiles/TestBed.dir/Examples/TestBed/Framework/Main.obj(.text+0x7c):Main.cpp:
undefined reference to `glMatrixMode@4'
CMakeFiles/TestBed.dir/Examples/TestBed/Framework/Main.obj(.text+0x84):Main.cpp:
undefined reference to `glLoadIdentity@0'
...
...

I tried adding opengl32 as a dependency but it still gives the same errors. I'm using MinGW 3.4.2.

EDIT:
The linking problem can be solved by using my attached CMakeLists file.

Original thread: https://box2d.org/forum/viewtopic.php?t=189