Fixed bug 3918 - CMake support for android project

This commit is contained in:
Sylvain Becker committed 2019-08-11 15:23:37 +02:00
1 parent 7f5fc74c57
commit 155087d106
5 files changed
+64 -2

No files matched your search

@@ -0,0 +1,13 @@
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)