Clarify that android builds are only supported from a proper bash shell

* Not from the windows cmd prompt
This commit is contained in:
baldurk
2019-07-01 14:56:48 +01:00
parent 853189a3f3
commit af19a21e4c
+3 -1
View File
@@ -40,7 +40,9 @@ cmake -DBUILD_ANDROID=On -DANDROID_ABI=armeabi-v7a ..
make
```
On Windows, you need to specify the 'generator' type to the cmake invocation. The exact parameter will depend on your bash shell, but options are e.g. `-G "MSYS Makefiles"` or `-G "MinGW Makefiles"`, i.e.:
On Windows, you should always build Android from a bash shell - cygwin, msys2, Windows WSL, etc. Building from cmd may work but is not supported.
On windows cmake you need to specify the 'generator' type to the cmake invocation. The exact parameter will depend on your bash shell, but options are e.g. `-G "MSYS Makefiles"` or `-G "MinGW Makefiles"`, i.e.:
```
cmake -DBUILD_ANDROID=On -DANDROID_ABI=armeabi-v7a -G "MSYS Makefiles" ..