From 2188fec876c36ca992dd7f22673af3dfe9bb76c9 Mon Sep 17 00:00:00 2001 From: "Boris D." Date: Thu, 10 Oct 2024 14:48:49 -0700 Subject: [PATCH] Refactor. --- CoreAnimation/dune | 2 +- CoreFoundation/dune | 2 +- CoreGraphics/dune | 2 +- Foundation/dune | 1 + README.md | 1 - WebKit/dune | 2 +- demo/main.ml | 1 - dune | 2 +- 8 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CoreAnimation/dune b/CoreAnimation/dune index c3006910..942399b8 100644 --- a/CoreAnimation/dune +++ b/CoreAnimation/dune @@ -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)) diff --git a/CoreFoundation/dune b/CoreFoundation/dune index 6f5cb499..7e3f564c 100644 --- a/CoreFoundation/dune +++ b/CoreFoundation/dune @@ -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)) diff --git a/CoreGraphics/dune b/CoreGraphics/dune index a5642891..d1fac4fb 100644 --- a/CoreGraphics/dune +++ b/CoreGraphics/dune @@ -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)) diff --git a/Foundation/dune b/Foundation/dune index 952d90d0..4d623dfc 100644 --- a/Foundation/dune +++ b/Foundation/dune @@ -1,6 +1,7 @@ (library (name Foundation) (public_name camlkit-base.Foundation) + (flags :standard -ccopt "-framework Foundation") (libraries camlkit-base.runtime camlkit-base.CoreFoundation diff --git a/README.md b/README.md index c96d80e2..bb03e412 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/WebKit/dune b/WebKit/dune index 59974f20..0ca33d76 100644 --- a/WebKit/dune +++ b/WebKit/dune @@ -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)) \ No newline at end of file diff --git a/demo/main.ml b/demo/main.ml index c5718328..f67b88c4 100644 --- a/demo/main.ml +++ b/demo/main.ml @@ -1,4 +1,3 @@ -open Foundation open UIKit open Runtime diff --git a/dune b/dune index 62526b37..2af57784 100644 --- a/dune +++ b/dune @@ -1 +1 @@ -(data_only_dirs local template vendor) \ No newline at end of file +(data_only_dirs local vendor) \ No newline at end of file