cmake-rs icon indicating copy to clipboard operation
cmake-rs copied to clipboard

Rust build dependency for running cmake

Results 93 cmake-rs issues
Sort by recently updated
recently updated
newest added

This PR changes `cmake-rs` to fill out `CMAKE_SYSTEM_NAME` and `CMAKE_SYSTEM_PROCESSOR` based `CARGO_CFG_TARGET_OS` and `CARGO_CFG_TARGET_ARCH` when cross compiling while `CMAKE_TOOLCHAIN_FILE` and `CMAKE_SYSTEM_NAME` isn't set by user. It's tested on CI using...

I ran into a cross-compiling issue where `cmake` used the host's `CMAKE_SYSTEM_PROCESSOR` instead of the target's and incorrectly evaluated a condition in the `CMakeLists.txt` that led to some unsupported compiler...

I have `MinGWx64` installed on windows (as I'm more familiar with `GCC`) and `rustup` set up almost perfectly with the `stable-x86_64-pc-windows-gnu` toolchain set as default. It hasn't failed in anything...

Im getting this error when running the app: ```thread 'main' panicked at ' environment variable `TARGET` not defined build script failed, must exit now', C:\Users\nikla\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.48\src\lib.rs:975:5 stack backtrace:``` Why can Target...

`master` branch contains conditional support of `--parallel` argument, which is very useful. Wouldn't it make sense to release the new version?

passing --parallel to cmake will execute make with `-jN` hence jobserver is ignored. Before the change, logs in stderr: ``` make: warning: -jN forced in submake: disabling jobserver mode. make:...

I've maintained this crate for quite some time now, but I don't think I really have the time/energy to maintain this any more. I personally only ever really barely understood...

Hello, I've tried to use the cmake crate as a dependency in my crate and while it works locally it fails when I add my crate as a dependency (pulled...

This has been seen before, notably #138, but setting CMAKE_SYSTEM_NAME causes cmake to be in a cross-compiling configuration even when it's building native. This causes rust-lang/rust#96054. Only set CMAKE_SYSTEM_NAME when...

MSVC already comes with CMake installed (by default if desktop development with c++ was specified), but CMake-rs doesn't know about it. This PR will use the bundled installation, but only...

S-waiting-on-review