]> git.localhorst.tv Git - blank.git/blob - building
display focused entity in debug overlay
[blank.git] / building
1 Dependencies
2 ============
3
4         GLEW, GLM, SDL2, SDL2_image, SDL2_ttf, OpenAL, freealut, zlib
5
6         CppUnit for tests
7
8 archlinux: pacman -S glew glm sdl2 sdl2_image sdl2_ttf openal freealut zlib cppunit
9
10 manual:
11         CppUnit http://sourceforge.net/projects/cppunit/
12         GLEW    http://glew.sourceforge.net/
13         GLM     http://glm.g-truc.net/0.9.6/index.html
14         OpenAL  http://openal.org/
15         SDL     http://www.libsdl.org/
16         zlib    http://zlib.net/
17
18
19 Makefile
20 ========
21
22 Targets
23 -------
24
25 all:
26         build everything
27
28 release (default), debug, profile:
29         build executables tuned for running, debugging, and profiling
30
31 run:
32         build and execute the main binary
33
34 test:
35         build and run unittests
36
37 gdb, cachegrind, callgrind:
38         build the binary suited for given tool and launch
39
40 clean:
41         remove intermediates
42
43 distclean:
44         remove intermediates and artifacts
45         (also those generated by tool invocations!)
46
47
48 Variables
49 ---------
50
51 CXX, LXX:
52         compiler/linker used for C++ sources/objects
53
54 LIBS:
55         names of libraries (for pkg-config)
56
57 CPPFLAGS, CXXFLAGS, LDXXFLAGS:
58         flags for the preprocessor, compiler, and linker
59
60 DEBUG_FLAGS, PROFILE_FLAGS, RELEASE_FLAGS:
61         flags for building binaries in debug, profile, and release mode