Generate SDK Headers For JavaNativeFoundation

This commit is contained in:
Thomas A 2023-05-14 07:39:37 -07:00
parent 18a33aa40d
commit 3c6eb73f3c
16 changed files with 25 additions and 1 deletions

View File

@ -1,8 +1,17 @@
project(openjdk) project(openjdk)
remove_sdk_framework(JavaNativeFoundation)
set(DYLIB_COMPAT_VERSION "1.0.0") set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0") set(DYLIB_CURRENT_VERSION "1.0.0")
set(FRAMEWORK_VERSION "A")
generate_sdk_framework(JavaNativeFoundation
VERSION ${FRAMEWORK_VERSION}
HEADER "darling/include/JavaNativeFoundation"
)
include_directories( include_directories(
"${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/share/native/include" "${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/share/native/include"
"${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/unix/native/include" "${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/unix/native/include"
@ -14,7 +23,7 @@ add_framework(JavaNativeFoundation
CURRENT_VERSION CURRENT_VERSION
PARENT "JavaVM" PARENT "JavaVM"
PARENT_COMPONENT cli_gui_common PARENT_COMPONENT cli_gui_common
VERSION "A" VERSION ${FRAMEWORK_VERSION}
SOURCES SOURCES
apple/JavaNativeFoundation/JavaNativeFoundation/debug.m apple/JavaNativeFoundation/JavaNativeFoundation/debug.m

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.h

View File

@ -0,0 +1 @@
../../../apple/JavaNativeFoundation/JavaNativeFoundation/JavaNativeFoundation.h