Can be built on Termux.
This repository is a fork of MAME
for real contributors to the chdman utility, please visit their repository.
apt update && apt dist-upgrade -y
apt install build-essential git cmake ninja
Note
On Debian/Ubuntu, the Ninja package is called
ninja-buildinstead ofninja.
git clone https://github.com/CharlesThobe/chdman.git
cd chdman
cmake -B build -G Ninja
cmake --build build
The chdman binary will be in the build/ directory.
After you compile, run:
cp build/chdman ~/../usr/bin/.
Note
You can copy
CMakeLists.txt,cmake_subdirs/,src/version.cppandsrc/osd/modules/lib/osd_getenv.cppover the MAME source tree and it will build.