Skip to content

Commit

Permalink
Build custom toplevel.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Oct 10, 2024
1 parent 2188fec commit badd0a2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions toplevel/dune
Original file line number Diff line number Diff line change
@@ -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))
1 change: 1 addition & 0 deletions toplevel/main.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = exit (Topmain.main ())

0 comments on commit badd0a2

Please sign in to comment.