shithub: cstory

ref: fcf1e9d0c4850574c14f009f5cfee2f7ac4aa16b
dir: /external/SDL2/android-project/app/jni/src/CMakeLists.txt/

View raw version
cmake_minimum_required(VERSION 3.6)

project(MY_APP)

find_library(SDL2 SDL2)

add_library(main SHARED)

target_sources(main PRIVATE YourSourceHere.c)

target_link_libraries(main SDL2)