mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 15:01:31 +11:00
Add debug-version
target
This commit is contained in:
parent
d473e1d352
commit
05764e2e77
5
Makefile
5
Makefile
|
@ -43,7 +43,7 @@ FULL_LIBRARY_PATH=$(CURDIR)/target/debug
|
||||||
LIBRARY=target/debug/libportability.$(LIB_EXTENSION)
|
LIBRARY=target/debug/libportability.$(LIB_EXTENSION)
|
||||||
LIBRARY_FAST=target/release/libportability.$(LIB_EXTENSION)
|
LIBRARY_FAST=target/release/libportability.$(LIB_EXTENSION)
|
||||||
|
|
||||||
.PHONY: all rebuild debug release binding run cts cts-pick cts-debug clean cherry
|
.PHONY: all rebuild debug debug-version release binding run cts cts-pick cts-debug clean cherry
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
@ -53,6 +53,9 @@ rebuild:
|
||||||
debug:
|
debug:
|
||||||
cargo build --manifest-path libportability/Cargo.toml --features "$(BACKEND) debug"
|
cargo build --manifest-path libportability/Cargo.toml --features "$(BACKEND) debug"
|
||||||
|
|
||||||
|
debug-version:
|
||||||
|
cargo rustc --manifest-path libportability/Cargo.toml --features "$(BACKEND) debug" -- -Clink-arg="-current_version 1.0.0" -Clink-arg="-compatibility_version 1.0.0"
|
||||||
|
|
||||||
release: $(LIBRARY_FAST)
|
release: $(LIBRARY_FAST)
|
||||||
|
|
||||||
binding: $(BINDING)
|
binding: $(BINDING)
|
||||||
|
|
Loading…
Reference in a new issue