-
-
Save initishbhatt/4808056a102bc70cef5ebb72a217bbc2 to your computer and use it in GitHub Desktop.
cmake list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
native-lib | |
# Sets the library as a shared library. | |
SHARED | |
# 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