cmake-rs
cmake-rs copied to clipboard
Rust build dependency for running cmake
Without explicitly CMAKE_OSX_ARCHITECTURES, when crosscompiling for x86_64 on aarch64 the libraries created are wonky and cannot be linked against.
This is a fix for #118 Explanation in that issue.
This fixes the following cmake errors ``` Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='x86'. ``` and ``` Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='arm'. ``` when crosscompiling for `i686-linux-android` and `armv7-linux-androideabi` android targets fixes #175
We do set the current directory, but it seems that some flavors of CMake on Windows still fail with the following: MSBUILD : error MSB1009: Project file does not exist....
1. Use the -S option to specify the source directory 2. Use the -B option to specify the build directory 3. If no target is specified, the build command does...
I hit the same issue as https://github.com/rust-lang/cmake-rs/issues/133 The reason is that even if no cflags or cxxflags are specified in the Config, it will still forcibly set those in the...
- Make sure `CMAKE_OSX_ARCHITECTURES` gets defined for iOS if not user-supplied (extending existing logic for macOS) - Make sure `CMAKE_OSX_SYSROOT` gets defined as well
CC version [1.0.80](https://github.com/rust-lang/cc-rs/releases/tag/1.0.80) fixes issues I have been encountering
This should fix the `Error: could not load cache` BUG. If there are already generated build files in the project directory, then if you execute the command `cmake path/project` in...