iDingDong
iDingDong
> Please use `set_kind("moduleonly")` That would not produce a static library for me. Is it impossible to build a static library that exports modules?
> see [#4707 (comment)](https://github.com/xmake-io/xmake/pull/4707#discussion_r1479565656) This comment doesn't make sense. Module units do get built into `.lib` at least for MSVC.
You can easily produce a huge static library by exporting large global variables that is not zero-initialized. For example, Visual studio would produce a 9KB+ static library containing only the...
> > You can easily produce a huge static library by exporting large global variables that is not zero-initialized. For example, Visual studio would produce a 9KB+ static library containing...