forked from apple/openjdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
51 lines (42 loc) · 1.62 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
project(openjdk)
remove_sdk_framework(JavaNativeFoundation)
set(DYLIB_COMPAT_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(
"${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/share/native/include"
"${CMAKE_CURRENT_SOURCE_DIR}/src/java.base/unix/native/include"
"${CMAKE_CURRENT_SOURCE_DIR}/apple/JavaNativeFoundation"
)
add_framework(JavaNativeFoundation
FAT
CURRENT_VERSION
PARENT "JavaVM"
PARENT_COMPONENT cli_gui_common
VERSION ${FRAMEWORK_VERSION}
SOURCES
apple/JavaNativeFoundation/JavaNativeFoundation/debug.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.m
apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.m
DEPENDENCIES
system
objc
AppKit
Foundation
)