mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
25 lines
492 B
TOML
25 lines
492 B
TOML
[package]
|
|
description = "Demo of Glutin OpenGL-initialization library"
|
|
|
|
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/glutin.git"
|
|
branch = "redox-0.30"
|
|
upstream = "https://github.com/rust-windowing/glutin.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"mesa",
|
|
"zlib",
|
|
]
|
|
dev-dependencies = [
|
|
"libstdcxx",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
COOKBOOK_CARGO_FLAGS=()
|
|
CARGOPATH="glutin_examples"
|
|
export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-lOSMesa"
|
|
cookbook_cargo_examples window
|
|
"""
|