Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild: P vs Px
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild: P vs Px
On 5/18/07, Joel Reymont <joelr1@gmail.com> wrote:
> What is the difference between P and Px here?
>
>         and lib_a = env "lib%.a" in
>           Seq[cp libasmrun lib_a;
>               Cmd(S[ar; A"r"; Px lib_a; P caml_o; P wrap_o])]

Px should be used for the output path.

When running a command, if a Px is present then it will be used for
display something clearer than the whole command line.

-- 
Nicolas Pouillard