Can Android Studio use the system CMake?

后端 未结 1 1489
予麋鹿
予麋鹿 2021-02-05 11:22

I\'m using Android Studio + CMake to build a native library. AS requested installing CMake, even though I already have CMake installed and in my path. Can you tell AS to look fo

相关标签:
1条回答
  • 2021-02-05 12:00

    The new Android plugin for gradle 3.0 will support using system CMake, for CMake 3.7+.

    From that webpage:

    1. Download and install CMake 3.7 or higher from the official CMake website.

    2. Include the path to the CMake installation in your project's local.properties file:

      cmake.dir="path-to-cmake"

    0 讨论(0)
提交回复
热议问题