mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-08 19:44:09 +08:00
Use the new cmake support to build JNI code
This commit is contained in:
5
app/CMakeLists.txt
Normal file
5
app/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.4.1)
|
||||
|
||||
add_library(termux SHARED src/main/jni/termux.c)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall -Wextra -Os -fno-stack-protector -Wl,--gc-sections")
|
Reference in New Issue
Block a user