mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-10-18 10:19:58 +00:00
27 lines
586 B
Markdown
27 lines
586 B
Markdown
# chdman standalone
|
|
can be built on termux
|
|
|
|
### Installing building tools.
|
|
```
|
|
apt update && apt dist-upgrade -y
|
|
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.
|
|
|
|
### 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.
|