Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.02 KB

README.md

File metadata and controls

40 lines (36 loc) · 1.02 KB

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}