X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=building;h=ef837750adae5fea4f624e5d7357822fc4fa47ce;hb=dbfcb12348b80e2582f710acb1e4ed0011889ba2;hp=e10bb282a4edba8644d10e703c8e2b3712a95f8f;hpb=f01ebd81ff047eb3209e25e183564f72f587915f;p=blank.git diff --git a/building b/building index e10bb28..ef83775 100644 --- a/building +++ b/building @@ -1,9 +1,19 @@ Dependencies ============ - GLEW, GLM, SDL2, SDL2_image + GLEW, GLM, SDL2, SDL2_image, SDL2_net, SDL2_ttf, OpenAL, freealut, zlib -archlinux: pacman -S glew glm sdl2 sdl2_image + CppUnit for tests + +archlinux: pacman -S glew glm sdl2 sdl2_image sdl2_net sdl2_ttf openal freealut zlib cppunit + +manual: + CppUnit http://sourceforge.net/projects/cppunit/ + GLEW http://glew.sourceforge.net/ + GLM http://glm.g-truc.net/0.9.6/index.html + OpenAL http://openal.org/ + SDL http://www.libsdl.org/ + zlib http://zlib.net/ Makefile @@ -19,7 +29,13 @@ release (default), debug, profile: build executables tuned for running, debugging, and profiling run: - build and execute the main binary + build and execute the main binary with state path set to ./saves + +server: + same as run, only in server mode + +test: + build and run unittests gdb, cachegrind, callgrind: build the binary suited for given tool and launch @@ -46,19 +62,3 @@ CPPFLAGS, CXXFLAGS, LDXXFLAGS: DEBUG_FLAGS, PROFILE_FLAGS, RELEASE_FLAGS: flags for building binaries in debug, profile, and release mode - - -Running -======= - -blank - normal execution - -blank - terminate after frames - -blank -t - terminate after milliseconds - -blank -t - terminate after n frames, assume milliseconds pass each frame