aboutsummaryrefslogtreecommitdiff
path: root/examples/render-triangles/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/render-triangles/Cargo.toml')
-rw-r--r--examples/render-triangles/Cargo.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/render-triangles/Cargo.toml b/examples/render-triangles/Cargo.toml
new file mode 100644
index 0000000..dd2c189
--- /dev/null
+++ b/examples/render-triangles/Cargo.toml
@@ -0,0 +1,30 @@
+[package]
+name = "render-triangles"
+version = "0.1.0"
+authors = ["Oscar <oscar.shrimpton.personal@gmail.com>"]
+edition = "2018"
+
+[dependencies]
+stockton-render = { path = "../../stockton-render" }
+stockton-types = { path = "../../stockton-types" }
+stockton-bsp = "2.0.0"
+winit = "0.19.1"
+log = "0.4.0"
+simple_logger = "1.0"
+rand = "0.7"
+
+[target.'cfg(feature = "gl")'.dependencies.stockton-render]
+path = "../../stockton-render"
+features = ["gl"]
+
+# [target.'cfg(feature = "dx11")'.dependencies.stockton-render]
+# path = "../../stockton-render"
+# features = ["dx11"]
+
+# [target.'cfg(feature = "dx12")'.dependencies.stockton-render]
+# path = "../../stockton-render"
+# features = ["dx12"]
+
+# [target.'cfg(feature = "vulkan")'.dependencies.stockton-render]
+# path = "../../stockton-render"
+# features = ["vulkan"] \ No newline at end of file