chdman/README.md

27 lines
586 B
Markdown
Raw Normal View History

2021-12-16 18:37:21 +00:00
# chdman standalone
can be built on termux
2022-01-04 03:57:49 +00:00
### Installing building tools.
2021-12-16 18:37:21 +00:00
```
2022-01-04 02:23:25 +00:00
apt update && apt dist-upgrade -y
2021-12-16 18:37:21 +00:00
apt install build-essential git ninja
```
### Building
```
git clone https://github.com/CharlesThobe/chdman.git
cd chdman
mkdir build && cd build
cmake -G Ninja .. && ninja
```
the `chdman` binary will be in the build directory.
2022-01-04 02:56:01 +00:00
2022-01-04 03:57:49 +00:00
### Installing 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.