/Box2D-cmake

CMake wrapper for Box2D, since it uses premake5

Primary LanguageCMakezlib LicenseZlib

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
License: Zlib Build Status AppVeyor Build status GitHub 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)