Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Leonardo Laguna Ruiz <modlfo@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] How to build a library with c++ stubs
Date: Tue, 03 Mar 2015 09:43:40 +0100	[thread overview]
Message-ID: <54F5743C.4020301@gmail.com> (raw)
In-Reply-To: <5ced2e657dadae093eb818ab6d9b0d93@whitequark.org>

Thank you everyone for your answers.

I was checking the examples that Ivan G. and Martin D. sent.  But it 
took me some time to find out how everything worked, specially because I 
haven't made any ocambuild plugin and is my first time using oasis.

I ended up using the renaming of files as Ygrek suggested in the link. 
If the issue that Peter Z. is fixed I guess that I just need to rename 
the files back and remove the flags.

@Shane F. I used the method you describe in the blog post when I had my 
cmake based build system.

Soon I'll be releasing my library once I test that works correctly in 
all the platform I want to support.

Leonardo


On 2015-03-01 14:36, Peter Zotov wrote:
> On 2015-03-01 15:04, ygrek wrote:
>> On Fri, 27 Feb 2015 23:40:04 +0100
>> Leonardo Laguna Ruiz <modlfo@gmail.com> wrote:
>>
>>> Does anyone has an example on how to build a library that uses C++ 
>>> code?
>>
>> Here is one -
>> http://stackoverflow.com/questions/21728826/building-c-code-with-ocamlbuild 
>>
>
> I submitted an issue to make it better: 
> http://caml.inria.fr/mantis/view.php?id=6798
>


  reply	other threads:[~2015-03-03  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 22:40 Leonardo Laguna Ruiz
2015-02-27 22:45 ` Ivan Gotovchits
2015-02-27 22:48 ` Martin DeMello
2015-03-01 12:04 ` ygrek
2015-03-01 13:36   ` Peter Zotov
2015-03-03  8:43     ` Leonardo Laguna Ruiz [this message]
2015-03-01 17:31 ` Shayne Fletcher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F5743C.4020301@gmail.com \
    --to=modlfo@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox