yahelpers
Enhanced debugging functionality for the ya ecosystem
Loading...
Searching...
No Matches
Build Systems

Table of Contents

  • Build system support
  • Installation
    • Install with CMake
    • Install with Meson
    • Install with Autotools
  • Which build system should I use

Build system support

yahelpers supports three build systems:

  • CMake
  • Meson
  • Autotools

All build systems are fully maintained and tested in CI.

Installation

yahelpers is a header‑only library. You can install it using any of the supported build systems.

Install with CMake

cmake -B build
cmake --build build
sudo cmake --install build

Use in your project:

find_package(yahelpers REQUIRED)
target_link_libraries(your_target PRIVATE yahelpers)

Install with Meson

meson setup build
meson install -C build

Use in your project:

dependency('yahelpers')

Install with Autotools

autoreconf --install
./configure
make
sudo make install

Use in your project:

pkg-config --cflags --libs yahelpers

Which build system should I use?

yahelpers supports three build systems because different users have different needs:

Buildsystem Best suited for Advantages
CMake Most users, modern C projects Widely used, great IDE integration, provides CMake package config files
Meson Users who want fast and clean builds Very fast, simple syntax, minimal boilerplate
Autotools Linux distributions, legacy environments Standard in many distros, extremely portable and compatible

Recommendation:
For new projects → CMake or Meson.

For distributions → Autotools.