Howto ClanLib + Code::Blocks
jeudi 7 juin 2012Par : CyrIngFile → New → Project… : Empty project

File → New → Empty file
Nommer le fichier vide ″main.cpp″

Project → Properties → Project’s build options

Add Linker settings → Link libraries :
clan23App clan23GL GL Xrender clan23Display X11 png jpeg freetype z bz2 fontconfig clan23Core

Compiler settings → Other options & Linker settings → Other linker options : -pthread

Compiler settings → Compiler Flags → Categories :
[X] Have g++ follow the coming c++0x ISO [-std=c++0x]
[X] Intel Core2 [-march=core2]

Search directories → Compiler : /usr/include/ClanLib-2.3

Properties → Build targets → Debug & Release → Type : GUI application

EOF