source: libcaca/trunk/README @ 4340

Last change on this file since 4340 was 4333, checked in by Sam Hocevar, 10 years ago

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

  • Property svn:keywords set to Id
File size: 960 bytes
Line 
1
2Building libcaca
3
4   o  Run configure then make. Useful configure flags are:
5
6     --enable-ncurses: support for the ncurses library
7     --enable-slang: support for the SLang library
8     --enable-conio: support for MS-DOS conio.h
9     --enable-x11: support for native X11 rendering
10     --enable-gl: support for OpenGL rendering
11     --enable-win32: support for the Windows console
12     --enable-network: support for the network server
13
14     --disable-imlib2: remove Imlib2 support in cacaview
15
16     --disable-doc: do not build documentation
17
18   o  Cross-compilation examples:
19
20     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
21
22     ./configure --disable-imlib2 --host=i586-mingw32msvc
23
24
25Using libcaca
26
27   o  Look into the src/ and test/ directories for source code examples.
28
29   o  Compiling a libcaca program is fairly simple:
30
31      gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
32      gcc foobar.o -o foobar `pkg-config --libs caca`
33
Note: See TracBrowser for help on using the repository browser.