你好,刚才直接查android-cmake的git,发现他最后写了一句cygwin是不支持这个编译的。
Building on Windows
First of all cygwin builds are NOT supported and will not be supported by android-cmake. To build natively on Windows you need a port of make but I recommend http://martine.github.io/ninja/ instead.
To build with Ninja you need:
Ensure you are using CMake newer than 2.8.9;
Download the latest Ninja from https://github.com/martine/ninja/releases;
Put the ninja.exe into your PATH (or add path to ninja.exe to your PATH environment variable);
Pass -GNinja to cmake alongside with other arguments (or choose Ninja generator in cmake-gui).
Enjoy the fast native multithreaded build :)