android studio 把c++放到cpp文件夹不显示问题
·
file(GLOB native_srcs "src/main/cpp/*.cpp" "src/main/cpp/dalvik/*.cpp" "src/main/cpp/art/*.cpp" "src/main/cpp/art/*.S")
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).
${native_srcs}
)更改CMakeLists.txt的配置,重新加载一次就OK。更多推荐
所有评论(0)