mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
94abed56ff
- 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-build
instead 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.cpp
andsrc/osd/modules/lib/osd_getenv.cpp
over the MAME source tree and it will build.