Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T08:42:26.000Z (over 5 years ago)
- Last Synced: 2024-08-04T02:11:10.398Z (5 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: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)](./LICENSE) | [![Build Status](https://travis-ci.org/tobanteGaming/Box2D-cmake.svg?branch=master)](https://travis-ci.org/tobanteGaming/Box2D-cmake) | [![AppVeyor Build status](https://img.shields.io/appveyor/ci/tobanteGaming/Box2D-cmake.svg)](https://ci.appveyor.com/project/tobanteGaming/Box2D-cmake) | ![GitHub issues](https://img.shields.io/github/issues/tobanteGaming/Box2D-cmake.svg) |## 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)
```