libedit

Autotool- and libtoolized port of the NetBSD Editline library (libedit).

Latest version: 3.1

Add to xmake.lua

add_requires("libedit 3.1")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2024-08-28T12:14:56.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • msys: i386, x86_64
  • bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
  • macosx: x86_64, arm64

Options

terminal_db
Select terminal library · Type: string · Default: ncurses · Values: termcap, ncurses, tinfo

Versions

  • 3.1

Dependencies

No dependencies declared.

Used by (2)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

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

install

xrepo install "libedit 3.1"

show info

xrepo info "libedit"

Link a library to your target

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

xmake.lua

add_requires("libedit 3.1")

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

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 "libedit 3.1" shell