main-- / windows-gaming

This project makes it easy and straightforward to set up PCI/VGA passthrough on your system. - OR AT LEAST IT WOULD, IF IT WASNT DEAD
6 stars 1 forks source link

windows-gaming should be a cargo workbench #110

Closed Ediacarium closed 7 years ago

Ediacarium commented 7 years ago

@oberien has already looked into this. This is especially relevant after #106 adds a second binary which we should be able to build with one call to cargo to simplify the makefile as @main-- already noted.

oberien commented 7 years ago

We need a virtual Cargo.toml in the repository root:

[workspace]
members = ["foo", "bar"]

In each member we need

[project]
workspace = ".."

i.e. the relative path to the virtual Cargo.toml. Then we are able to use cargo build -p <member>, cargo build --all and cargo run -p <member>.