android-project/app/jni/src/CMakeLists.txt
changeset 13006 4a410f099040
equal deleted inserted replaced
13005:ff2e36039fd2 13006:4a410f099040
       
     1 cmake_minimum_required(VERSION 3.6)
       
     2 
       
     3 project(MY_APP)
       
     4 
       
     5 find_library(SDL2 SDL2)
       
     6 
       
     7 add_library(main SHARED)
       
     8 
       
     9 target_sources(main PRIVATE YourSourceHere.c)
       
    10 
       
    11 target_link_libraries(main SDL2)
       
    12 
       
    13