1. Home
  2. Browse
  3. libmagic

libmagic

v5.45#3Go to latest

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.45#3

Publication

Supports

All

GitHub

file/file

Homepage

github.com/file/file

Subtree

05dd7ebf72

License

BSD-2-Clause

Definition

Manifest