Skip to content

Latest commit

Β 

History

History
65 lines (43 loc) Β· 1.5 KB

File metadata and controls

65 lines (43 loc) Β· 1.5 KB

template-meson πŸš€

A modern project template for Meson build system, designed to help you quickly start new C/C++ projects with best practices, structure, and automation.

Features ✨

  • Meson Build System: Fast, reliable, and easy-to-use build configuration ⚑
  • Clean Project Structure: Organized source, include, and test directories πŸ—‚οΈ
  • Cross-Platform: Works on Linux, macOS, and Windows 🌍
  • CI/CD Ready: Example workflows for GitHub Actions πŸ€–
  • Extensible: Easily customize for your own needs πŸ› οΈ

Getting Started 🏁

Prerequisites πŸ“¦

Arch Linux 🐧

sudo pacman -S meson base-devel

Debian/Ubuntu 🐧

sudo apt install meson ninja-build

Clone the Repository ⬇️

git clone https://github.com/silitonix/template-meson.git
cd template-meson

Build the Project πŸ—οΈ

meson setup build
meson compile -C build

Run Tests βœ…

meson test -C build

Customization 🎨

  • Add your source files to the source/ directory.
  • Add headers to include/.
  • Define additional tests in tests/.
  • Update meson.build to configure your targets.

Contributing 🀝

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

License πŸ“„

This project is licensed under the MIT License. See LICENSE for details.

References πŸ”—