mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
Merge changes from Calinou:improve-readme branch while reverting the installation line.
Improve README
This commit is contained in:
commit
7d794ce266
34
README.md
34
README.md
@ -1,26 +1,40 @@
|
|||||||
# chdman standalone
|
# chdman standalone
|
||||||
can be built on termux
|
|
||||||
|
|
||||||
### Installing building tools.
|
Can be built on [Termux](https://termux.dev/).
|
||||||
|
|
||||||
|
## Compilation
|
||||||
|
|
||||||
|
### Install dependencies
|
||||||
|
|
||||||
```
|
```
|
||||||
apt update && apt dist-upgrade -y
|
apt update && apt dist-upgrade -y
|
||||||
apt install build-essential git ninja
|
apt install build-essential git cmake ninja
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building
|
> **Note**
|
||||||
|
>
|
||||||
|
> On Debian/Ubuntu, the Ninja package is called `ninja-build` instead of `ninja`.
|
||||||
|
|
||||||
|
### Build chdman
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/CharlesThobe/chdman.git
|
git clone https://github.com/CharlesThobe/chdman.git
|
||||||
cd chdman
|
cd chdman
|
||||||
mkdir build && cd build
|
cmake -B build -G Ninja
|
||||||
cmake -G Ninja .. && ninja
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
|
||||||
the `chdman` binary will be in the build directory.
|
The `chdman` binary will be in the `build/` directory.
|
||||||
|
|
||||||
### Installing on termux
|
### Install on Termux
|
||||||
after you compile run:
|
|
||||||
|
After you compile, run:
|
||||||
```
|
```
|
||||||
cp chdman ~/../usr/bin/.
|
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.
|
> **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.
|
||||||
|
Loading…
Reference in New Issue
Block a user