Skip to content

tabris17/file-windows

Repository files navigation

file Command and libmagic for Windows

Dependent projects:

Requirements:

To build with MinGW, use the following commands:

$env:CC=(Get-Command gcc).Source
$env:CXX=(Get-Command g++).Source
cmake -GNinja -Bbuild -S.
ninja -C build magic magic_file file

or

cmake -D CMAKE_C_COMPILER=$( (Get-Command gcc).Source ) -D CMAKE_CXX_COMPILER=$( (Get-Command g++).Source ) -GNinja -Bbuild -S.
cmake --build build --config Release --target magic magic_file file

About

file and libmagic for Windows

Resources

Stars

Watchers

Forks

Packages

No packages published