Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Oct 10, 2024
1 parent 75f47d6 commit 2188fec
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CoreAnimation/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(library
(name CoreAnimation)
(public_name camlkit-base.CoreAnimation)
; (flags :standard -ccopt "-framework QuartzCore")
(flags :standard -ccopt "-framework QuartzCore")
; (enabled_if (= %{system} macosx))
(libraries CoreFoundation CoreGraphics))

Expand Down
2 changes: 1 addition & 1 deletion CoreFoundation/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(library
(name CoreFoundation)
(public_name camlkit-base.CoreFoundation)
; (flags :standard -ccopt "-framework CoreFoundation")
(flags :standard -ccopt "-framework CoreFoundation")
; (foreign_stubs (language c) (names CoreFoundation_inlines))
(libraries camlkit-base.runtime))

Expand Down
2 changes: 1 addition & 1 deletion CoreGraphics/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(library
(name CoreGraphics)
(public_name camlkit-base.CoreGraphics)
; (flags :standard -ccopt "-framework CoreGraphics")
(flags :standard -ccopt "-framework CoreGraphics")
; (enabled_if (= %{system} macosx))
; (foreign_stubs (language c) (names CoreGraphics_inlines))
(libraries camlkit-base.runtime CoreFoundation))
Expand Down
1 change: 1 addition & 0 deletions Foundation/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(library
(name Foundation)
(public_name camlkit-base.Foundation)
(flags :standard -ccopt "-framework Foundation")
(libraries
camlkit-base.runtime
camlkit-base.CoreFoundation
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ a taste of what a program in Camlkit looks like, here is a "Hello World" iOS
application:

```ocaml
open Foundation
open UIKit
open Runtime
Expand Down
2 changes: 1 addition & 1 deletion WebKit/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(name WebKit)
(public_name camlkit-base.WebKit)
(enabled_if (= %{system} macosx))
; (flags :standard -ccopt "-framework WebKit")
(flags :standard -ccopt "-framework WebKit")
(libraries camlkit-base.runtime camlkit-base.Foundation))

(documentation (package camlkit-base))
1 change: 0 additions & 1 deletion demo/main.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Foundation
open UIKit
open Runtime

Expand Down
2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(data_only_dirs local template vendor)
(data_only_dirs local vendor)

0 comments on commit 2188fec

Please sign in to comment.