Skip to content

A C++ wrapper library over the Magic Number Recognition Library.

License

Notifications You must be signed in to change notification settings

oguztoraman/libmagicxx

Repository files navigation

Libmagicxx

A C++ wrapper library over the Magic Number Recognition Library.

Requirements to Build Libmagicxx

  • Git
  • GCC or Clang (C++23)
  • CMake
  • GNU Make or Ninja
  • Libtool
  • Autoconf

Usage

  1. Clone the libmagicxx repo into your project.
git clone https://github.com/oguztoraman/libmagicxx
  1. Run the setup.sh bash script to install the requirements and build the Magic Number Recognition Library.
cd libmagicxx && ./setup.sh
  1. Add the following lines to the top level CMakeLists.txt file of your project.
add_subdirectory(libmagicxx)

target_link_libraries(<name of your project>
    <PUBLIC or PRIVATE or INTERFACE> magicxx
)

License

  • Libmagicxx

GNU Lesser General Public License Version 3, see the COPYING.LESSER file for details.

  • File and the Magic Number Recognition Library

See the COPYING file for details.

  • GoogleTest

See the LICENSE file for details.

About

A C++ wrapper library over the Magic Number Recognition Library.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published