fix warning in test
[ocurl.git] / README.md
blob69c95a8f82b990b7b2af2dab1b6914591152019d
2 ocurl - OCaml libcurl bindings
3 ==============================
5 [![Build Status](https://travis-ci.org/ygrek/ocurl.svg?branch=master)](https://travis-ci.org/ygrek/ocurl) [![Build status](https://ci.appveyor.com/api/projects/status/b20uqxaeyarwy2s4/branch/master?svg=true)](https://ci.appveyor.com/project/ygrek/ocurl/branch/master)
7 Homepage: https://ygrek.org.ua/p/ocurl
9 OCaml bindings to libcurl - client-side URL transfer library,
10 supporting HTTP and a multitude of other network protocols.
11 This is a continuation of ocurl project by Lars Nilsson,
12 previously hosted at http://ocurl.sourceforge.net/
14 Minimum supported libcurl version : 7.28.0
16 Building on Windows with ocaml/msvc
17 ===================================
19 Requirements
20 ------------
22   * libcurl devel for msvc <http://curl.haxx.se/latest.cgi?curl=win32-ssl-devel-msvc>
23   * working ocaml/msvc setup (ocaml and msvc tools in PATH)
24   * ocamlfind
25   * GNU make
27 Build
28 -----
30 Edit `Makefile.msvc` and make CURLDIR variable point
31 to the root directory of libcurl installation.
32 Copy `config.h.windows` to `config.h`.
34 Compile with `make -f Makefile.msvc`.
35 Install with `make -f Makefile.msvc install`.
36 Compile examples with `make -f Makefile.msvc examples`.
38 Adding new libcurl symbol
39 =========================
41 * add symbol in configure.ac
42 * autoreconf
43 * make clean
44 * ./configure
45 * edit curl-helper.c and curl.ml*
47 Making release
48 ==============
50 * Check `make gen` with latest libcurl
51 * Update CHANGES.txt
52 * Update version in configure.ac
53 * autoreconf
54 * commit
55 * ./configure && make release
57 ----
58  ygrek at autistici dot org