Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild: change the target name
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paolo Donadeo <p.donadeo@g...>
Subject: ocamlbuild: change the target name
I'm porting the build system of Ex-nunc from a plethora of makefiles
to ocamlbuild.

Is it possible to change the name of the generated (bytecode or
native) executable name? The Ex-nunc page compiler has a main module
contained in the file (try to guess) mail.ml. Using:

$ ocamlbuild ...some options... main.byte

the program is correctly compiled and named main.byte, but I would
prefer the output was called "xnuncc".

Now I use the mv command, but it's not the best solution.


TIA,

-- 
Paolo Donadeo, Senior Software Engineer
Studio Associato 4Sigma
Email: p.donadeo@4sigma.it
~
~
:wq