corrosion-rs / corrosion

Marrying Rust and CMake - Easy Rust and C/C++ Integration!
https://corrosion-rs.github.io/corrosion/
MIT License
1.07k stars 103 forks source link

Support more generator expressions in output directories #515

Open Nopey opened 4 months ago

Nopey commented 4 months ago

Allows output directories that contain a few more generator expressions than just $<CONFIG>.

Useful if your binary output path contains something like $<$<CONFIG:Debug>:dbg>, which expands to "dbg" when building for Debug, and empty string otherwise.

TODO: Add tests