On 2008-06-02 15:12-0600 Orion Poplawski wrote: > Andrew Ross wrote: >> I have (finally) got the ocaml bindings from Hez integrated into the SVN >> repository. The reason this takes so long is partly because cmake lacks >> ocaml support and partly because I have been busy at work. Ocaml has >> some strange ideas about file locations when compiling which has lead to >> a few ugly cmake hacks. Alan, I'm sure you will have something to say >> about this! >> >> Currently the bindings are disabled by default. Set ENABLE_ocaml to test >> them. Also, only examples 11 and 19 are implemented. Please test out >> though, particularly if you have ocaml but are not using a Linux system. > > I'm seeing: > > Make Warning (dev) at examples/ocaml/CMakeLists.txt:48 (add_custom_target): > Policy CMP0002 is not set: Logical target names must be globally unique. > Run "cmake --help-policy CMP0002" for policy details. Use the > cmake_policy > command to set the policy and suppress this warning. > This warning is for project developers. Use -Wno-dev to suppress it.
I highly advise unique target names so I am glad cmake-2.6.0 is warning of this issue for some of the ocaml examples. 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 __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel