Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: statically link ArgumentParserToolInfo always
Now that windows supports static linking as well (to a certain degree), alter the build of swift-argument-parser in CMake to use static linking for ArgumentParserToolInfo always irrespective of whether ArgumentParser is being built as a static library or a dynamic library. On Windows, in release mode, this saves ~32KiB. Additionally, because no tool directly links against this library, no binaries are further expanded by static linking, and we have one less file to distribute.
- Loading branch information