diff --git a/toplevel/dune b/toplevel/dune new file mode 100644 index 00000000..b2cba432 --- /dev/null +++ b/toplevel/dune @@ -0,0 +1,22 @@ +(executable + (public_name cktop) + (package camlkit) + (name main) + (enabled_if (and + (= %{system} macosx) + (= %{context_name} default))) + (flags :standard -ccopt "-framework Cocoa") + (link_flags (-linkall)) + (modes byte) + (libraries + compiler-libs.toplevel + runtime + dispatch + Foundation + CoreFoundation + CoreGraphics + CoreAnimation + CoreText + CoreImage + AppKit + WebKit)) diff --git a/toplevel/main.ml b/toplevel/main.ml new file mode 100644 index 00000000..98cac035 --- /dev/null +++ b/toplevel/main.ml @@ -0,0 +1 @@ +let () = exit (Topmain.main ()) \ No newline at end of file