vezel-dev / zig-sdk

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.

Home Page:https://docs.vezel.dev/zig-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand library reference support

alexrp opened this issue · comments

Add a new LinkerReference item that can be used to specify libraries that should be searched for by the linker. So, <LinkerReference Include="pthread" /> results in -lpthread being passed.

Also add a new LinkerDirectory item to specify linker search paths. <LinkerDirectory Include="foo" /> turns into -Lfoo.