https://github.com/tobanteGaming/Box2D-cmake
CMake wrapper for Box2D, since it uses premake5
https://github.com/tobanteGaming/Box2D-cmake
box2d cmake cpp cpp17 game-development physics-2d physics-engine
Last synced: 17 days ago
JSON representation
CMake wrapper for Box2D, since it uses premake5
- Host: GitHub
- URL: https://github.com/tobanteGaming/Box2D-cmake
- Owner: tobanteGaming
- License: zlib
- Created: 2018-07-15T21:59:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T08:42:26.000Z (about 6 years ago)
- Last Synced: 2024-08-04T02:11:10.398Z (10 months ago)
- Topics: box2d, cmake, cpp, cpp17, game-development, physics-2d, physics-engine
- Language: CMake
- Homepage:
- Size: 9.77 KB
- Stars: 11
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - Box2D-cmake
README
# Box2D CMake Support
This is a wrapper around the C++ library [Box2D](http://box2d.org/). The Source code can be found on [Github](https://github.com/erincatto/Box2D)
## Status
| LICENSE | Linux / macOS | Windows | Issues |
| :------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------: |
| [](./LICENSE) | [](https://travis-ci.org/tobanteGaming/Box2D-cmake) | [](https://ci.appveyor.com/project/tobanteGaming/Box2D-cmake) |  |## Usage
### Add as Submodule
```sh
cd $PROJECT_ROOT
git submodule add https://github.com/tobanteGaming/Box2D-cmake.git 3rd_party/Box2D-cmake
git submodule update --init --recursive
```### Use
In CMakeLists.txt:
```
add_subdirectory(3rd_party/Box2D-cmake)
target_link_libraries(${PROJECT_NAME} tobanteGaming::Box2D)
```