android-project/app/jni/src/CMakeLists.txt
changeset 13006 4a410f099040
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/android-project/app/jni/src/CMakeLists.txt	Sun Aug 11 15:23:37 2019 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +cmake_minimum_required(VERSION 3.6)
     1.5 +
     1.6 +project(MY_APP)
     1.7 +
     1.8 +find_library(SDL2 SDL2)
     1.9 +
    1.10 +add_library(main SHARED)
    1.11 +
    1.12 +target_sources(main PRIVATE YourSourceHere.c)
    1.13 +
    1.14 +target_link_libraries(main SDL2)
    1.15 +
    1.16 +