Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.02 KB

File metadata and controls

65 lines (45 loc) · 1.02 KB

Building macpp on Linux

Tested with GCC 14.2.

Prerequisites

Build

  • CMake
  • Git
  • GCC with support for C++20 features
  • CURL
  • sqlite3
  • pandoc and gzip for generating the manual

Testing

  • sqlite3 executable
  • LCOV for generating coverage data

Steps

Clone the repository:

git clone https://github.com/Zedran/macpp.git

Build

Run the following instructions inside the project's root directory:

mkdir build
cd build

cmake ..
make

The following commands can be used to install and uninstall the application:

make install
make uninstall

Testing

mkdir build
cd build

cmake -DMAKE_TESTS=ON ..
make
./t

CMake options

Option Description
-DMAKE_TESTS Build test binary
-DMAKE_COVER Generate coverage report target (make cover)
-DMAKE_MAN Generate a manual for the application