ncurses-meson-dep

Meson ncurses detection 100% real no fake
git clone git://git.sgregoratto.me/ncurses-meson-dep
Log | Files | Refs | README

meson.build (455B)


      1 project(
      2         'ncurses-test',
      3         'c',
      4         version : '1.0',
      5         default_options : [
      6                 'warning_level=2'
      7         ],
      8 )
      9 
     10 cc   = meson.get_compiler('c')
     11 conf = configuration_data()
     12 
     13 subdir('ncurses')
     14 
     15 configure_file(
     16         input: 'config.h.in',
     17         output: 'config.h',
     18         configuration: conf,
     19 )
     20 
     21 exe = executable(
     22         'ncurses_test',
     23         'ncurses_test.c',
     24         dependencies: curses,
     25         install : true
     26 )