android-project/app/jni/src/CMakeLists.txt
author Sylvain Becker
Sun, 11 Aug 2019 15:23:37 +0200
changeset 13006 4a410f099040
permissions -rw-r--r--
Fixed bug 3918 - CMake support for android project
     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