| 1 |
(library |
| 2 |
(name ANSITerminal) |
| 3 |
(public_name ANSITerminal) |
| 4 |
(modules ANSITerminal ANSITerminal_common) |
| 5 |
(foreign_stubs (language c) (names ANSITerminal_stubs)) |
| 6 |
(synopsis "Basic control of ANSI compliant terminals and the windows shell") |
| 7 |
(libraries unix bytes)) |
| 8 |
|
| 9 |
(rule |
| 10 |
(targets ANSITerminal.ml ANSITerminal_stubs.c) |
| 11 |
(deps ANSITerminal_unix.ml ANSITerminal_win.ml |
| 12 |
ANSITerminal_unix_stubs.c ANSITerminal_win_stubs.c |
| 13 |
(:p choose_implementation.exe)) |
| 14 |
(action (run %{p}))) |
| 15 |
|
| 16 |
(executable |
| 17 |
(name choose_implementation) |
| 18 |
(modules choose_implementation)) |