forked from JnCrMx/discord-game-sdk4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: No require discord flags CreateParams method, fix macOS (#14)
* feat: No require discord flags CreateParams method * possible macos fix * more possible macos fix * more cmake tweaks * don't hard code path * fix macos amd64 * wrong arch * readme update * last readme update * remove outdated building from source comment * last few readme touchups (real) * chore: bump version to 0.2.0
- Loading branch information
1 parent
6043af3
commit 8baf489
Showing
16 changed files
with
84 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+40 Bytes
(100%)
src/main/resources/native/linux/amd64/libdiscord_game_sdk_jni.so
Binary file not shown.
Binary file modified
BIN
+36.7 KB
(280%)
src/main/resources/native/macos/aarch64/libdiscord_game_sdk_jni.dylib
Binary file not shown.
Binary file modified
BIN
+64 Bytes
(100%)
src/main/resources/native/macos/amd64/libdiscord_game_sdk_jni.dylib
Binary file not shown.
Binary file modified
BIN
+604 Bytes
(100%)
src/main/resources/native/windows/amd64/discord_game_sdk_jni.dll
Binary file not shown.
Binary file modified
BIN
+95 Bytes
(100%)
src/main/resources/native/windows/x86/discord_game_sdk_jni.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
set(CMAKE_SYSTEM_NAME macOS) | ||
set(CMAKE_SYSTEM_PROCESSOR arm64) | ||
LIST(APPEND CMAKE_PROGRAM_PATH ~/osxcross/target/bin) | ||
|
||
set(CMAKE_C_COMPILER oa64-clang) | ||
set(CMAKE_C_COMPILER_TARGET arm64-apple-darwin20.4) | ||
set(CMAKE_C_FLAGS -fuse-ld=/home/ryan/osxcross/target/bin/arm64-apple-darwin20.4-ld) | ||
|
||
set(CMAKE_C_COMPILER o64-clang) | ||
set(CMAKE_C_COMPILER_WORKS 1) | ||
|
||
set(CMAKE_SHARED_LIBRARY_SUFFIX_C ".dylib") | ||
set(JAVA_INCLUDE_PATH /usr/lib/jvm/macos-aarch64-jdk-11.0.19/Contents/Home/include) | ||
set(JAVA_INCLUDE_PATH2 /usr/lib/jvm/macos-aarch64-jdk-11.0.19/Contents/Home/include/darwin) | ||
set(JAVA_AWT_INCLUDE_PATH NotNeeded) | ||
set(JAVA_AWT_LIBRARY NotNeeded) | ||
set(JAVA_JVM_LIBRARY /usr/lib/jvm/macos-aarch64-jdk-11.0.19/Contents/Home) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters