dirent

C/C++ library for retrieving information on files and directories

Latest version: 1.26

Add to xmake.lua

add_requires("dirent 1.26")

Learn how to add and link packages with Xmake →

Information

License
MIT
Kind
library
Recipe updated
2025-08-12T02:40:45.000Z

Platforms

  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

No configurable options.

Versions

  • 1.24
  • 1.25
  • 1.26

Dependencies

No dependencies declared.

Install with xrepo

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

install

xrepo install "dirent 1.26"

show info

xrepo info "dirent"

Link a library to your target

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

xmake.lua

add_requires("dirent 1.26")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("dirent")

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 "dirent 1.26" shell