Skip to content

Commit 2443364

Browse files
Martin Belangerigaw
authored andcommitted
build, meson: Print option summary
At the end of the meson setup command, display the options so that we can quickly determine that we're configured the project properly Signed-off-by: Martin Belanger <[email protected]>
1 parent e71cf10 commit 2443364

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

meson.build

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,18 @@ subdir('libnvme')
252252
subdir('test')
253253
subdir('examples')
254254
subdir('doc')
255+
256+
################################################################################
257+
if meson.version().version_compare('>=0.53.0')
258+
summary_dict = {
259+
'prefixdir': prefixdir,
260+
'sysconfdir': sysconfdir,
261+
'bindir': bindir,
262+
'includedir': includedir,
263+
'datadir': datadir,
264+
'mandir': mandir,
265+
'libdir': libdir,
266+
'build location': meson.current_build_dir(),
267+
}
268+
summary(summary_dict)
269+
endif

0 commit comments

Comments
 (0)