remaining todos for jAppleMenuBar cleanup

This commit is contained in:
Ben Fry
2022-01-25 09:52:13 -05:00
parent 6a8ea32066
commit 58b43abb78
2 changed files with 5 additions and 7 deletions
+4 -7
View File
@@ -1,10 +1,12 @@
#!/usr/bin/make
# Helpful information used to create this code
# https://gist.github.com/DmitrySoshnikov/8b1599a5197b5469c8cc07025f600fdb
# https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
CC=gcc
JAVA_HOME="`/usr/libexec/java_home -v 11`"
JNI=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin/
# JNI11=-I`/usr/libexec/java_home -v 11`/include -I`/usr/libexec/java_home -v 11`/include/darwin/
# JNI17=-I`/usr/libexec/java_home -v 17`/include -I`/usr/libexec/java_home -v 17`/include/darwin/
default: universal_lib
@@ -16,8 +18,3 @@ arm_lib: jAppleMenuBar.m
universal_lib: x64_lib arm_lib
lipo -create -output libjAppleMenuBar.jnilib libjAppleMenuBar_x86_64 libjAppleMenuBar_aarch64
# JAVA_HOME="`/usr/libexec/java_home -v 11`"
# gcc -I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin/ \
# -arch x86_64 -arch arm64 \
# -o libjAppleMenuBar.jnilib -shared jAppleMenuBar.m
+1
View File
@@ -4,6 +4,7 @@ X https://github.com/processing/processing4/issues/221
o seems to be working fine; not sure, but have to roll with it for now
X breaks on aarch64
X https://github.com/processing/processing4/issues/372
_ rename jAppleMenuBar, make part of build process
macos-aarch64