Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: statically link ArgumentParserToolInfo always #424

Merged
merged 1 commit into from
Mar 31, 2022

Commits on Mar 20, 2022

  1. 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.
    compnerd committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    05076bc View commit details
    Browse the repository at this point in the history