1. Home
  2. Browse
  3. libmagic

libmagic

v5.46#0Latest

This library can be used to classify files according to magic number tests.

Install

Run the following Vcpkg command to install the port.

vcpkg install libmagic

Usage

libmagic provides CMake targets:

find_package(unofficial-libmagic REQUIRED)
target_link_libraries(main PRIVATE unofficial::libmagic::libmagic)

The magic.mgc file can be accessed from the unofficial-libmagic_DICTIONARY variable.

Features

Dependencies

See source

Version

v5.46#0

Publication

Supports

All

GitHub

file/file

Homepage

github.com/file/file

Subtree

ddcee8f0b8

License

BSD-2-Clause

Definition

Manifest