bfgroup / Lyra

A simple to use, composable, command line parser for C++ 11 and beyond
https://bfgroup.github.io/Lyra/
Boost Software License 1.0
471 stars 56 forks source link

Rewrite meson.build #77

Open wrvsrx opened 1 year ago

wrvsrx commented 1 year ago

This rewriting make three changes:

  1. This project compiled by meson used to produce an empty .a file. This should not happen since lyra is pure header library.
  2. Now meson can correctly install these header files.
  3. Now lyra.pc file is automatically created by meson.
wrvsrx commented 1 year ago
  1. Sorry for my negligence, I'll change this PR to use the B2 build file for generating meson.build.
  2. I use two meson.build files to use meson's preseve_path feature, since it can simplify some logics. I can use only single file if you don't want that.
wrvsrx commented 10 months ago

I make changes to data/build.jam and regenerate meson.build.

wrvsrx commented 10 months ago

It seems the mingw-related errors in the test have nothing to do with this PR.