Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.05 KB

INSTALL.md

File metadata and controls

31 lines (24 loc) · 1.05 KB

ckmame is written in C++20 and uses cmake to build.

To use ckmame, you need

  • zlib (at least version 1.1.2)
  • libzip (at least version 1.10.0)
  • SQLite3
  • optionally libxml2 (for M.A.M.E. -listxml and detectors)
  • optionally libarchive (for reading from 7z archives)

For running the tests, you need to have nihtest (at least version 1.5) and Python.

The basic usage is

mkdir build
cd build
cmake ..
make
make test
make install

Some useful parameters you can pass to cmake with -Dparameter=value:

  • CMAKE_INSTALL_PREFIX: for setting the installation path
  • DOCUMENTATION_FORMAT: choose one of 'man', 'mdoc', and 'html' for the installed documentation (default: decided by cmake depending on available tools)

You can get verbose build output with by passing VERBOSE=1 to make.

You can also check the cmake FAQ.