Re: [PATCH v5] libtraceevent: Add initial support for meson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 04, 2023 at 12:34:56PM -0500, Steven Rostedt wrote:
> On Wed, 4 Jan 2023 12:31:43 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> 
> > On Wed, 4 Jan 2023 18:05:59 +0100
> > Daniel Wagner <dwagner@xxxxxxx> wrote:
> > 
> > > > It's still missing the building of the static library libtraceevent.a.    
> > > 
> > > This is controlled via 'meson setup --default-library {shared, static, both}'.  
> > 
> > Can we make it default to 'both' ?
> 
> Actually, I'm working on adding a Makefile that controls all this. I can
> make that do the "both"

Sure, the defaults are controlled via the project() command:

project(
    'libtraceevent', ['c'],
    meson_version: '>= 0.50.0',
    license: 'LGPL-2.1',
    version: '1.7.0',
    default_options: [
      'c_std=gnu99',
      'buildtype=debug',
      'default_library=both',
      'prefix=/usr/local',
      'warning_level=1',
    ]
)



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux