vc-ltl5

Shared to msvcrt.dll or ucrtbase.dll and optimize the C/C++ application file size

Latest version: 5.3.1

Add to xmake.lua

add_requires("vc-ltl5 5.3.1")

Learn how to add and link packages with Xmake →

Information

License
EPL-2.0
Recipe updated
2026-01-11T03:02:42.000Z

Platforms

  • windows: x86, x64, arm, arm64, arm64ec

Options

clean_import
Do not use ucrt apiset, such as api-ms-win-crt-time-l1-1-0.dll (for geeks) (Duplicated after vc-ltl 5.1 version) · Type: boolean · Default: false
debug
Use runtimes configs · Type: boolean · Default: false
min_version
Windows Target Platform Min Version · Type: string · Default: 6.0.6000.0
openmp
Use openmp library · Type: boolean · Default: false
shared
Use runtimes configs · Type: boolean · Default: true
subsystem
Windows xp subsystem · Type: string · Default: windows · Values: console, windows

Versions

  • 5.0.6
  • 5.0.7
  • 5.0.9
  • 5.1.1
  • 5.2.1
  • 5.2.2
  • 5.3.1

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "vc-ltl5 5.3.1"

show info

xrepo info "vc-ltl5"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("vc-ltl5 5.3.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("vc-ltl5")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "vc-ltl5 5.3.1" shell