comparison android/CMakeLists.txt @ 2474:a13e6db064f4

Android: Implement thread, semaphore, shared memory API functions. Implement dwmain() entrypoint and include dwtest.c in the build. Like on iOS dw_main() doesn't actually run the message loop... So wait for dw_main() to be called and return to the JVM.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 19 Apr 2021 23:06:25 +0000
parents aa420e366b2b
children
comparison
equal deleted inserted replaced
2473:aa420e366b2b 2474:a13e6db064f4
19 19
20 # Sets the library as a shared library. 20 # Sets the library as a shared library.
21 SHARED 21 SHARED
22 22
23 # Provides a relative path to your source file(s). 23 # Provides a relative path to your source file(s).
24 dw.cpp ) 24 dw.cpp dwtest.c )
25 25
26 # Searches for a specified prebuilt library and stores the path as a 26 # Searches for a specified prebuilt library and stores the path as a
27 # variable. Because CMake includes system libraries in the search path by 27 # variable. Because CMake includes system libraries in the search path by
28 # default, you only need to specify the name of the public NDK library 28 # default, you only need to specify the name of the public NDK library
29 # you want to add. CMake verifies that the library exists before 29 # you want to add. CMake verifies that the library exists before