Skip to content

pavel-cpp/cpp-mime-magic

Repository files navigation

MIME Magic

Overview

MIME magic is a cross-platform library that is an implementation of the standard and has a number of differences from the standard, designed for parsing and executing magic files.

Deployment

To deploy the library you need follow these steps:

Configure project

In the below command you are free to change CMAKE_BUILD_TYPE if you want to configure the Debug version and the build directory to your own.

cmake -DCMAKE_BUILD_TYPE=Release -B cmake_build_release

Important

If you are building a library for msbuild specifying BUILD_TYPE is not necessary. ###Building the project

Use the command below to build the library.
You can change the build directory.
cmake --build cmake_build_release

Important

If you are building a library for msbuild add --config {BUILD_TYPE}

Installing the library

Use below command

cmake --install ./build --prefix ./mime_magic

Important

If you are building a library for msbuild add --config {BUILD_TYPE}

About

A MIME magic parser for identifying file types.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published