Go to file
2023-01-05 06:54:28 +02:00
.github/workflows add windows ci 2022-01-06 04:38:10 +02:00
3rdparty adding missing 3rd party and includes 2022-01-05 08:45:22 +02:00
cmake_subdirs add "sdl_cfg.lua" windows definition to libocore 2022-01-06 06:15:17 +02:00
src Copy only chdman.cpp from tools. 2022-01-05 08:45:24 +02:00
.gitignore Add ninja stuff to .gitignore 2022-01-05 08:45:24 +02:00
CMakeLists.txt Lower CMake version requirement to 3.12 2023-01-02 20:07:39 +01:00
genie_history.bash Add script for showing genie scripts changes 2022-01-05 08:45:24 +02:00
README.md Improve README 2023-01-05 06:46:54 +02:00
update_tree.bash Copy only chdman.cpp from tools. 2022-01-05 08:45:24 +02:00

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-build instead of ninja.

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.cpp and src/osd/modules/lib/osd_getenv.cpp over the MAME source tree and it will build.