(executable (name probe) (modules probe) (libraries cli-exit cmdliner eio eio_main fmt)) (executable (name dispatch) (modules dispatch) (libraries cli-exit cmdliner fmt)) (executable (name status_probe) (modules status_probe) (libraries cli-exit cmdliner fmt)) (executable (name parse_probe) (modules parse_probe) (libraries cli-exit cmdliner fmt)) (test (name test) (modules test test_cli_exit) (libraries cli-exit alcotest fmt unix) (action (setenv CLI_EXIT_PROBE %{exe:probe.exe} (setenv CLI_EXIT_DISPATCH %{exe:dispatch.exe} (setenv CLI_EXIT_STATUS_PROBE %{exe:status_probe.exe} (setenv CLI_EXIT_PARSE_PROBE %{exe:parse_probe.exe} (run %{test})))))))