You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sam Hocevar 51cf438fb0 Fix dllexport usage, courtesy of Carlo Bramini in #48. преди 15 години
XCode/libcacaXCode.xcodeproj * XCode project file updated for kernel преди 15 години
caca Fix dllexport usage, courtesy of Carlo Bramini in #48. преди 15 години
caca-php Update my e-mail address everywhere. преди 15 години
caca-sharp Clean up .gitignore and documentation build rules. преди 15 години
cxx Clean up .gitignore and documentation build rules. преди 15 години
doc Clean up .gitignore and documentation build rules. преди 15 години
examples Clean up .gitignore and documentation build rules. преди 15 години
java Move conditional java targets to the top of Makefile.am. преди 15 години
kernel Move some configuration stuff from build-kernel into configure.ac. преди 15 години
perl * Updated MSVC++ project (static library and src/*) преди 19 години
python Coding style: remove tabs and trailing spaces. преди 15 години
ruby * Add back some missing spaces преди 15 години
src Clean up .gitignore and documentation build rules. преди 15 години
test Split check-build into check-doygen, check-source and check-win32. преди 15 години
tools Do not use htons/htonl in makefont.c, since we already have hton16/hton32 преди 15 години
win32 Document file functions and fix a few issues here and there. преди 15 години
.gitignore Clean up .gitignore and documentation build rules. преди 15 години
AUTHORS Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. преди 15 години
COPYING * Fixed address in license. преди 17 години
COPYING.GPL * Added glue code to compile libcaca without a libc and build applications преди 19 години
COPYING.ISC Add a simple snake program using the <conio.h> interface. преди 15 години
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' permission. преди 19 години
ChangeLog Generate a better changelog. преди 15 години
Makefile.am Generate a better changelog. преди 15 години
NEWS Update the NEWS file with what's been done since the last release. преди 15 години
NOTES * Moved the technical discussion on S-Lang's palette optimisation from преди 19 години
README * FIRST ! преди 17 години
THANKS Add a simple snake program using the <conio.h> interface. преди 15 години
bootstrap Gather profiling information in caca_refresh_display() and caca_get_event(). преди 15 години
build-dos Update my e-mail address everywhere. преди 15 години
build-kernel Move some configuration stuff from build-kernel into configure.ac. преди 15 години
build-win32 Move some configuration stuff from build-kernel into configure.ac. преди 15 години
caca-config.in Update my e-mail address everywhere. преди 15 години
configure.ac Move some configuration stuff from build-kernel into configure.ac. преди 15 години
libcaca.sln Add the conio examples to the Visual Studio solution. преди 15 години
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's useless. преди 19 години

README

$Id$

Building libcaca

o Run configure then make. Useful configure flags are:

--enable-ncurses: support for the ncurses library
--enable-slang: support for the SLang library
--enable-conio: support for MS-DOS conio.h
--enable-x11: support for native X11 rendering
--enable-gl: support for OpenGL rendering
--enable-win32: support for the Windows console
--enable-network: support for the network server

--disable-imlib2: remove Imlib2 support in cacaview

--disable-doc: do not build documentation

o Cross-compilation examples:

./configure --disable-imlib2 --host=i386-pc-msdosdjgpp

./configure --disable-imlib2 --host=i586-mingw32msvc


Using libcaca

o Look into the src/ and test/ directories for source code examples.

o Compiling a libcaca program is fairly simple:

gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
gcc foobar.o -o foobar `pkg-config --libs caca`