[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 myocamlbuild question |
On 3/25/07, Christian Sternagel <christian.sternagel@uibk.ac.at> wrote: > is it possible to give something like > > flag ["c"; "~<file:*_stubs.c>"] (S [A "-cc"; A "g++"]) > > to set the -cc g++ switch for all *.c files except ocaml-stub files. I know, that the above code wouldn't work, but is there a way to do such things? > Nop, but you can easily do it by declaring a tag: $ cat _tags not <*_stubs.c>: use_gxx And in your myocamlbuild.ml flag ["c"; "use_gxx"] (S [A "-cc"; A "g++"]) -- Nicolas Pouillard