pub fn setup_graphics_sdks(backend: Backend)Expand description
Set up the optional graphics SDKs for the given backend. On a non-Windows target (or the Metal backend) this is a no-op: none of these SDKs apply.
Which kinds of final binary the calling package builds is read from that package, not passed in: a package can build both bins and examples, and each kind takes its own linker-argument key and its own directory for the bundled DLLs, so the setup runs once per kind. A directive both kinds produce – every cfg, every warning – is emitted once.