sfmlml Code
Brought to you by:
felixzero
File | Date | Author | Commit |
---|---|---|---|
src | 2010-06-18 | felixzero | [r21] Ajout des streambuffers et de sf::Err |
META | 2009-12-28 | felixzero | [r19] Adding up-to-date sources (this project wasn't ... |
Makefile | 2009-12-28 | felixzero | [r19] Adding up-to-date sources (this project wasn't ... |
Makefile.native | 2009-12-28 | felixzero | [r19] Adding up-to-date sources (this project wasn't ... |
README | 2009-12-28 | felixzero | [r19] Adding up-to-date sources (this project wasn't ... |
--- 1. Compilation To build bytecode targets, simply run "make" (or "gmake" on BSD userland). To build native targets, run "make -f MAkefile.native" --- 2.a Installation (with ocamlfind) After building both byte and native targets, install it with: sudo ocamlfind install sfml lib*.a lib*.so *.cmi src/*.mli sfml*.a *.cma *.cmxa META After this you may use ocamlfind to link the package in. Or easily use it from the toplevel. --- 2.b Installation (without ocamlfind) You can also compile your project with : ocamlc -custom libsfmlml-system.a libsfmlml-window.a [...] sfmlSystem.cma sfmlWindow.cma [...] my_program or (bytecode) : ocamlopt libsfmlml-system.a libsfmlml-window.a [...] sfmlSystem.a sfmlWindow.a [...] sfmlSystem.cmxa sfmlWindow.cmxa [...] my_program