Skip to content

Instantly share code, notes, and snippets.


initishbhatt/cmakeLists.txt Secret

Created Apr 12, 2018
What would you like to do?
cmake list
# Creates and names a library, sets it as either STATIC
# or SHARED, and provides the relative paths to its source code.
# You can define multiple libraries, and CMake builds them for you.
# Gradle automatically packages shared libraries with your APK.
add_library( # Sets the name of the library.
# Sets the library as a shared library.
# Provides a relative path to your source file(s).
src/main/cpp/native-lib.cpp )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment