I'm trying to use cmake for a project using OCaml, so I'm trying to add
support for a new language.
Among the many problems I encounter, the most pressing is the
following: the rule to build object files (CMAKE_OCaml_COMPILE_OBJECT)
seems to want a command that takes and generates , both
of which
> According to http://caml.inria.fr/pub/docs/manual-ocaml/manual022.html, it
> does:
> -o exec-file
> Specify the name of the output file produced by the compiler. The
> default output name is a.out under Unix and camlprog.exe under Windows. If
This manpage describes all kinds of uses and in p
>> I'm trying to use cmake for a project using OCaml, so I'm trying to add
>> support for a new language.
> Just in case you weren't aware of that.
> There has been [several] discussions on the ML
> in the past concerning CMake OCaml support at least this one:
> http://www.cmake.org/pipermail/cmak
> "If the -c option is given, specify the name of the
> object file produced for the next source file that appears on the
> command line."
> So if the help says that -o is supposed to do something sensible when used
> with -c but it doesn't, I'd suggest to file a bug. Note that the order of
> ar
>> I'd still like to know how to explain to cmake that the command produces
>> 2 files, but at least I can get rid of my hack.
> That (assuming just a simple object file is produced by compilation)
> is one of several general limitations with CMake language support. For
> example, my understanding