Hi all,
this is my first post here. I'm sharing an announcement with you which might also be suitable for the wiki, but I did not yet have time to find my way through the wiki.
I've been working on an open-source minigolf game which will use Box2D starting from version 2.0. My build system relies on CMake as well as my patches to Box2D's CMake files, so it is quite tedious for my users to build Box2D from sources.
So I give you all RPM packages of a current CMake-based Box2D trunk snapshot. I have packages for recent versions of openSUSE, Mandriva and Fedora. More distributions can be added on request. Find the repository URLs at this article on my blog.
With the packages installed, compiling your own game against Box2D should be as easy as:
Feedback is appreciated. The packages are quite simple at the moment: They include only the libraries, headers, and the license information. I can add the examples and the documentation if you want, but for now, I've kept it simple to produce results as quickly as possible.
this is my first post here. I'm sharing an announcement with you which might also be suitable for the wiki, but I did not yet have time to find my way through the wiki.
I've been working on an open-source minigolf game which will use Box2D starting from version 2.0. My build system relies on CMake as well as my patches to Box2D's CMake files, so it is quite tedious for my users to build Box2D from sources.
So I give you all RPM packages of a current CMake-based Box2D trunk snapshot. I have packages for recent versions of openSUSE, Mandriva and Fedora. More distributions can be added on request. Find the repository URLs at this article on my blog.
With the packages installed, compiling your own game against Box2D should be as easy as:
Code:
# CMakeLists.txt
project(mygame)
find_package(Box2D REQUIRED)
include_directories(${BOX2D_INCLUDE_DIRS})
add_executable(mygame mygame.cpp)
target_link_libraries(mygame Box2D)
install(TARGETS mygame DESTINATION bin)
project(mygame)
find_package(Box2D REQUIRED)
include_directories(${BOX2D_INCLUDE_DIRS})
add_executable(mygame mygame.cpp)
target_link_libraries(mygame Box2D)
install(TARGETS mygame DESTINATION bin)
Feedback is appreciated. The packages are quite simple at the moment: They include only the libraries, headers, and the license information. I can add the examples and the documentation if you want, but for now, I've kept it simple to produce results as quickly as possible.