mirror of
https://github.com/mii443/rust-openvr.git
synced 2025-12-16 17:08:48 +00:00
moved sys to other repo, preparation for crates release
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
[package]
|
||||
name = "openvr_sys"
|
||||
version = "0.1.0"
|
||||
authors = [
|
||||
"Colin Sherratt",
|
||||
"Erick Tryzelaar"
|
||||
]
|
||||
|
||||
build = "build.rs"
|
||||
|
||||
[lib]
|
||||
name = "openvr_sys"
|
||||
path = "lib.rs"
|
||||
@@ -1,19 +0,0 @@
|
||||
|
||||
|
||||
#[cfg(target_os="macos")]
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-search={}/../../openvr/lib/osx32", env!("CARGO_MANIFEST_DIR"));
|
||||
println!("cargo:rustc-link-search={}/../../openvr/bin/osx32", env!("CARGO_MANIFEST_DIR"));
|
||||
}
|
||||
|
||||
#[cfg(target_os="linux")]
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-search={}/../../openvr/lib/linux64", env!("CARGO_MANIFEST_DIR"));
|
||||
println!("cargo:rustc-link-search={}/../../openvr/bin/linux64", env!("CARGO_MANIFEST_DIR"));
|
||||
}
|
||||
|
||||
#[cfg(target_os="windows")]
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-search={}\\..\\..\\openvr\\lib\\win64", env!("CARGO_MANIFEST_DIR"));
|
||||
println!("cargo:rustc-link-search={}\\..\\..\\openvr\\bin\\win64", env!("CARGO_MANIFEST_DIR"));
|
||||
}
|
||||
2685
src/sys/lib.rs
2685
src/sys/lib.rs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user