Awesome
Box2D CMake Support
This is a wrapper around the C++ library Box2D. The Source code can be found on Github
Status
LICENSE | Linux / macOS | Windows | Issues |
---|---|---|---|
Usage
Add as Submodule
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)