mirror of
https://github.com/mii443/rust-openvr.git
synced 2025-08-22 16:25:36 +00:00
Updated cargo build
This commit is contained in:
@ -18,6 +18,6 @@ path = "src/oculus-vr/lib.rs"
|
||||
name = "oculus-info"
|
||||
path = "src/oculus-info/main.rs"
|
||||
|
||||
[dependencies.cgmath-rs]
|
||||
[dependencies.cgmath]
|
||||
|
||||
git = "https://github.com/bjz/cgmath-rs.git"
|
||||
|
Submodule modules/cgmath updated: 92b5a4b31f...f489bb8501
@ -2,6 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
git submodule update --init --recursive
|
||||
./configure
|
||||
make lib/libovr.a
|
||||
cp lib/libovr.a target/
|
||||
|
@ -1,7 +1,7 @@
|
||||
#![crate_id = "oculus-info#0.1"]
|
||||
#![crate_name = "oculus-info"]
|
||||
|
||||
extern crate debug;
|
||||
extern crate ovr = "oculus-vr";
|
||||
extern crate ovr = "ovr-rs";
|
||||
|
||||
use ovr::{SensorCapabilities, Ovr};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![crate_id = "oculus-vr#0.1"]
|
||||
#![crate_name = "ovr-vr"]
|
||||
#![crate_type = "lib"]
|
||||
#![feature(link_args)]
|
||||
|
||||
|
Reference in New Issue
Block a user