fips icon indicating copy to clipboard operation
fips copied to clipboard

cmake.py/run_build() adds Visual Studio args for Android builds

Open floooh opened this issue 5 years ago • 0 comments

See here:

https://github.com/floooh/fips/blob/2b42c3408088a8f3bf94789169183a868f33819d/mod/tools/cmake.py#L89

The code assumes that all builds on Windows are done with Visual Studio, and on all other platforms with a build tool which understands the -j option. Needs to be changed to check the build tool instead.

This produces problems like:

=== building: android-vscode-debug
cmake --build . --config Debug -- /nologo /verbosity:minimal /maxcpucount:10
ninja: error: unknown target '/nologo'
[ERROR] Failed to build config 'android-vscode-debug' of project 'X'

floooh avatar Jan 20 '20 09:01 floooh