Android: x86 fails in Visual Studio 2019
Hi CMake team!
I have created a very simple example to generate an Android NDK lib using the Visual Studio 2019 Android C++ Developer tools. It works for 'x86_64', 'armeabi-v7a' and 'arm64-v8a' ABIs, but not for 'x86'.
cmake -G "Visual Studio 16 2019" ^
-A Win32 ^
--toolchain %ANDROID_NDK%\build\cmake\android.toolchain.cmake ^
-S . ^
-B x86 ^
-D ANDROID_ABI="x86"
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Debug|x86.
If you open x86\CMakeFiles\3.21.3\VCTargetsPath.vcxproj
<ProjectConfiguration Include="Debug|Win32">
For reproduce the error just run script.bat
in the same directory.
Thanks in advance for any kind of help!