mirror of
https://github.com/charlesthobe/chdman.git
synced 2026-07-08 20:22:49 -04:00
- List CMake dependency. - Add note about Ninja package name being different on Debian/Ubuntu. - Use modern CMake commands for building with fewer steps in a generator-agnostic way. - Improve formatting. - Commit amend (Revert the installation steps) |
||
|---|---|---|
| .github/workflows | ||
| 3rdparty | ||
| cmake_subdirs | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| genie_history.bash | ||
| README.md | ||
| update_tree.bash | ||
chdman standalone
Can be built on Termux.
Compilation
Install dependencies
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.
Build chdman
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.
Install on Termux
After you compile, run:
cp 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.