It is unlikely we will ever move to full OCaml CMake language support
because of a number of special issues with the OCaml build tools that don't
fit into the CMake language paradigm (e.g., a special build subdirectory is
required when building the bindings).  Therefore, our OCaml build must rely
on fundamental add_custom_command and add_custom_target methods which
necessarily have lots of dependency complications.  The previous
implementation did not deal with those complications correctly, but as far
as I know the dependencies are dealt with correctly now (revision 10396).
For example, if I touch src/libplplotd.so.9.7.0 in the build tree on Linux,
the OCaml bindings automatically rebuild which then triggers an automatic
rebuild of the OCaml examples.  If I then run make again, no rebuilding of
anything having to do with OCaml is done (the correct result which was not
achieved before). So I am satisfied by the OCaml results I see, but please
test on all platforms.

BTW, I checked that "make clean" works perfectly for the OCaml bindings for
CMake-2.6.4. There was a comment in bindings/ocaml/CMakeLists.txt that the
"clean" target did not properly remove the special _build subdirectory. That
is certainly removed now by "make clean" so it appears there was an issue
with that directory removal for an older CMake version that is now fixed
with 2.6.4.

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
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to