renamed appkit backend to cocoa and got something that compiles

This commit is contained in:
IoIxD 2026-01-09 21:35:23 -07:00
commit e73964882e
8 changed files with 465 additions and 84 deletions

View file

@ -46,9 +46,9 @@ if (grep(/^wayland$/, @backends)) {
$gl_libs = "-lGL -lGLU";
}
if (grep(/^appkit$/, @backends)) {
add_cflags("-DUSE_APPKIT");
new_object("src/backend/appkit.m");
if (grep(/^cocoa$/, @backends)) {
add_cflags("-DUSE_COCOA");
new_object("src/backend/cocoa.m");
$gl_libs = "-lGL -lGLU";
}