rust-sdl2-ttf
Provides bindings to SDL_ttf.
This particular crate is linked against SDL2 / rust-sdl2 -- and is suitable for use w/ SDL 2.0 applications.
Pre-Requisities
-
- This crate is meant to build against the latest version of
rust.
- This crate is meant to build against the latest version of
-
- This crate provides bindings to SDL2. You will need this to build & link
rust-sdl2-ttf.
- This crate provides bindings to SDL2. You will need this to build & link
-
SDL2_ttf
- Available as binaries through your OS's package management tool
- Available from http://libsdl.org
Building
$ git clone https://github.com/drbawb/rust-sdl2-ttf
$ cd rust-sdl2-ttf
$ make deps && make
Targets
make depswill initialize, fetch, and buildrust-sdl2from the lib/rust-sdl2 submodule.- The resulting
.rlibis placed inlib/
- The resulting
makeormake allwill clean thebuild/directory and runmake compilemake compilewill build an unoptimized version of the library and place the.rlibinbuild/make veyronwill enable optimizations prior to completing thecompiletarget.- (WIP)
make testwill build thetestsmodule and run them. make docwill run therustdocagainstsrc/lib.rsand store the docs as HTML indocs/