Created
July 16, 2024 12:31
-
-
Save CedricGuillemet/13f55304422dfaebcfd6bfc1ebfa1b2a to your computer and use it in GitHub Desktop.
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
cmake_minimum_required(VERSION 3.18) | |
set(CMAKE_CXX_STANDARD 17) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
project(BabylonNative) | |
include(FetchContent) | |
FetchContent_Declare(babylonnative | |
GIT_REPOSITORY https://github.com/BabylonJS/BabylonNative.git | |
GIT_TAG d0c97077d07da3a4f07d92473155db11c2e5a6c3) | |
FetchContent_MakeAvailable(babylonnative) | |
add_library(BabylonNativeJNI SHARED | |
src/main/cpp/BabylonNativeJNI.cpp) | |
target_link_libraries(BabylonNativeJNI | |
GLESv3 | |
android | |
EGL | |
log | |
-lz | |
AndroidExtensions | |
AppRuntime | |
Canvas | |
Console | |
GraphicsDevice | |
NativeCamera | |
NativeEngine | |
NativeInput | |
NativeOptimizations | |
NativeXr | |
ScriptLoader | |
XMLHttpRequest | |
Window) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment