Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/cargo.mk
| Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | |||||
| CARGO_TEST_ARGS+= --no-default-features | CARGO_TEST_ARGS+= --no-default-features | ||||
| . endif | . endif | ||||
| . if !empty(CARGO_FEATURES:N--no-default-features) | . if !empty(CARGO_FEATURES:N--no-default-features) | ||||
| CARGO_BUILD_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | CARGO_BUILD_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | ||||
| CARGO_INSTALL_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | CARGO_INSTALL_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | ||||
| CARGO_TEST_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | CARGO_TEST_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' | ||||
| . endif | . endif | ||||
| . if !defined(WITH_DEBUG) | . if !defined(_WITH_DEBUG) | ||||
| CARGO_BUILD_ARGS+= --release | CARGO_BUILD_ARGS+= --release | ||||
| CARGO_TEST_ARGS+= --release | CARGO_TEST_ARGS+= --release | ||||
| . else | . else | ||||
| CARGO_INSTALL_ARGS+= --debug | CARGO_INSTALL_ARGS+= --debug | ||||
| . endif | . endif | ||||
| . if ${_CARGO_CRATES:Mcmake} | . if ${_CARGO_CRATES:Mcmake} | ||||
| BUILD_DEPENDS+= cmake:devel/cmake-core | BUILD_DEPENDS+= cmake:devel/cmake-core | ||||
| ▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines | |||||