caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild: add source files on the fly
@ 2008-12-11 18:43 Anastasia Gornostaeva
  2008-12-12 21:38 ` [Caml-list] " Mikkel Fahnøe Jørgensen
  0 siblings, 1 reply; 2+ messages in thread
From: Anastasia Gornostaeva @ 2008-12-11 18:43 UTC (permalink / raw)
  To: caml-list

Hello.

How can I add additional source files for a program on fly? For instance, in
usual Makefile I can do:

SOURCES = file1.ml file2.ml file3.ml
SOURCES += $(USER_SELECTED_PLUBINS)
SOURCES += file4.ml

All files including a list of user selected files are described in _tags, so
there remains the small stuff -- how to somewhat interesting in myocamlbuild.ml.
As always, there is important the order of files.
And I hope that it does not need to describe long rules to produce %.cm(o|x)s...

Thanks.
ermine


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-12 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 18:43 ocamlbuild: add source files on the fly Anastasia Gornostaeva
2008-12-12 21:38 ` [Caml-list] " Mikkel Fahnøe Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).