A C++ wrapper library over the Magic Number Recognition Library.
- Git
- GCC or Clang (C++23)
- CMake
- GNU Make or Ninja
- Libtool
- Autoconf
- Clone the libmagicxx repo into your project.
git clone https://github.com/oguztoraman/libmagicxx
- Run the setup.sh bash script to install the requirements and build the Magic Number Recognition Library.
cd libmagicxx && ./setup.sh
- 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
)
- 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.