Browse thread
[Caml-list] ocaml and large development projects
-
Traudt, Mark
-
Jason Hickey
-
Chris Hecker
- John Max Skaller
- David Brown
-
Chris Hecker
-
Jason Hickey
[
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: | John Max Skaller <skaller@o...> |
| Subject: | Re: [Caml-list] ocaml and large development projects |
Markus Mottl wrote:
>The limitations / problems that appear with larger
> projects are mostly related to general issues concerning "make", which
> isn't a particularly well-suited tool for this purpose, but the only
> one which is reliably installed on most development platforms.
That really is NOT true. Make is NOT installed
on a wide class of platforms (Windows).
On the other hand Python is available for Windows
and most other platforms.
So why bother with crud like make, when you can
write a Python script?
I'm lazy, I just made a list of module,
and check the file times for where to start,
but there is no reason you can't write a more
sophisticated checker -- after all, you can
os.system('ocamldep ' + filename)
to get dependencies, then build a dependency
tree from them in Python without that much fuss.
Yeah, of course .. you could use Ocaml instead
of Python .. and that is GUARRANTEED to be installed,
since you're using it, right?
So unless I'm totally wrong .. for a single directory
build you could make a harness:
ocamlbuild prog1 prog2 ..
that would just work, no makefile needed.
--
John Max Skaller, mailto:skaller@ozemail.com.au
snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia.
voice:61-2-9660-0850
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners