Skip to content

external cmake builders for some 3rdparty libs: Box2D, Eigen, imgui

Notifications You must be signed in to change notification settings

pr0g/cmakefied

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMakefied

CMake support for some 3rd-party libraries that I use. Instead of forking a library and adding CMake support in the fork (hard to maintain updates) this repo provides CMake files to other libraries without forking them.

Usage:

git-clone.sh imgui|Box2D|combinations|eigen # multiple args are fine

which git-clones the package's git repo as a sibling of this cmakefied directory and copies the CMake support files into the cloned repo.

You can call then cmake -H<DIR> ... for that directory.

Libraries:

  • imgui: is Ocornut's Dear-IMGUI, with the glfw-ogl3 support files added as a separate library.
  • Box2D: is Erin Catto's 2D physics lib.
  • combinations: Howard Hinnant's combinations/permutations header library.
  • eigen: is the C++ template library for linear algebra. Note that Eigen does have native CMake-support, it's only that because of the tests it didn't build for me. Here we just replace the tests' CMakeLists.txt with a return() because it can't be disabled otherwise.

About

external cmake builders for some 3rdparty libs: Box2D, Eigen, imgui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 68.7%
  • Shell 31.3%