Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlbuild myocamlbuild question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-25 (16:48)
From: Christian Sternagel <christian.sternagel@u...>
Subject: ocamlbuild myocamlbuild question
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?