build: Use meson summary instead of hardocded string
This commit is contained in:
+9
-11
@@ -3,7 +3,7 @@ project(
|
|||||||
'c',
|
'c',
|
||||||
version: '40.alpha',
|
version: '40.alpha',
|
||||||
license: 'GPL3+',
|
license: 'GPL3+',
|
||||||
meson_version: '>= 0.50.0'
|
meson_version: '>= 0.53.0'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -201,13 +201,11 @@ configure_file(
|
|||||||
configuration: config_h
|
configuration: config_h
|
||||||
)
|
)
|
||||||
|
|
||||||
output = '\n\n GNOME Calendar ' + calendar_version + '\n'
|
summary({
|
||||||
output += ' =========================\n\n'
|
'Source': meson.source_root(),
|
||||||
output += ' Source ..........................: ' + meson.source_root() + '\n'
|
'Prefix': calendar_prefix,
|
||||||
output += ' Prefix ..........................: ' + calendar_prefix + '\n'
|
})
|
||||||
output += ' Compiler ........................: ' + cc.get_id() + '\n\n'
|
summary({
|
||||||
output += ' Development options\n'
|
'Debug': calendar_debug,
|
||||||
output += ' Enable Debug: ...................: ' + calendar_debug.to_string() + '\n'
|
'Tracing': enable_tracing,
|
||||||
output += ' Enable Tracing: .................: ' + enable_tracing.to_string() + '\n'
|
}, section: 'Development')
|
||||||
output += ' Now type "ninja -C ' + meson.build_root() + '" to build ' + meson.project_name() + '\n\n'
|
|
||||||
message(output)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user