Re: Which build tool to use?

"Gabriel Scherer [email protected] [ocaml_beginners]" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <CAPFanBHdnOzxogJqBRX3gFrXua+F0WK1Gx3uOM+5i_zwEbBUBA@mail.gmail.com>
>
> So far I've simply run `corebuild` (a simple wrapper around
> `ocamlbuild`), but that leaves some build stuff in the source folder
> (that sort of breaks with CMake's tradition of building out-of-source).


I'm fairly surprised by this, as ocamlbuild takes care to produce all
target outputs in a separate folder (the _build subdirectory). Could you
say more about what you are doing, what happens and what you expect?

On Thu, Sep 17, 2015 at 10:09 AM, Magnus Therning [email protected]
[ocaml_beginners] <[email protected]> wrote:

> Hello,
>
> I'm dipping my toes into the OCaml waters again.  I'm working on a
> project implemented in C/C++, it's lacking tests in many areas, some of
> which require having a server process running. I thought I'd start with
> using OCaml to implement a mock server so I can test the client libs.
>
> The C/C++ project uses CMake to build and now I'd like to plug my OCaml
> build into it, but what to use?
>
> So far I've simply run `corebuild` (a simple wrapper around
> `ocamlbuild`), but that leaves some build stuff in the source folder
> (that sort of breaks with CMake's tradition of building out-of-source).
>
> I've found at least two OCaml build tools, `omake` and `oasis` (besides
> `ocamlbuild`).  Is anyone preferred over the other for new projects?
>
> /M
>
> --
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: [email protected]   jabber: [email protected]
> twitter: magthe               http://therning.org/magnus
>
> For every problem there is a solution which is clear, simple, and
> wrong.
>      -- HL Mencken
>
>
> ------------------------------------
> Posted by: Magnus Therning <[email protected]>
> ------------------------------------
>
> Archives up to December 31, 2011 are also downloadable at
> http://www.connettivo.net/cntprojects/ocaml_beginners
> The archives of the very official ocaml list (the seniors' one) can be
> found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.