On 2009-09-11 11:48-0500 Hezekiah M. Carty wrote:

> Alan,
>
> Thank you for making these changes.  This will hopefully reduce the
> number of "make clean"s I have to run while working on the OCaml
> bindings.
>
> In the past we have discussed moving away from ocamlbuild and using
> ocamlc/ocamlopt directly for building the OCaml bindings.  This is
> already done for the examples.  Do you, or anyone else, have time to
> work on this with me?

Hi Hez:

Sure, I can adjust our build system (or advise you how to do so) to use any
method you like for building the OCaml bindings since we are using really
fundamental CMake logic (add_custom_command and add_custom_target with
correct dependency tracking logic) to get the build done now.  So replacing
ocamlbuild with the equivalent ocamlc and ocamlopt commands is no big deal.

Contact me off list about the exact ocamlc and ocamlopt commands
you want to use, and the rest should be an extremely easy generalization
of the logic in place at the moment.

BTW, I got mislead years ago about the CMake two-tier dependency system
because of bad/nonexistent documentation about it then. But recently I have
re-read the more reasonable documentation that exists now (via cmake
--help-full), and I think I am finally on top of it.  The ocaml bindings and
examples build should be the first to benefit from my new understanding,
but I believe there are other dependency issues that should be addressed
in the PLplot build as well.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to