Project

General

Profile

Actions

Feature #1303

open

meson: simplify build script / increase usability

Added by Matt Jolly 5 days ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
-
Start date:
04/17/2025
Due date:
% Done:

0%

Estimated time:

Description

The meson build file for Freeciv could likely be simplified and made easier to maintain by:

  • Using dependency('foo' ...) instead of compiler.has_x
  • Reducing boilerplate by using `foo_dep.found()` as a conditional
  • Using meson feature option type instead of combo 'try', 'true', 'false'

Usability can be improved by providing a configure summary at the end of the script to provide useful troubleshooting information at the end of the process.
This is made easier by having `foo_dep` only be a dependency type rather than possibly being a list.

Actions #1

Updated by Marko Lindqvist 4 days ago

  • Category set to Bootstrap
Actions

Also available in: Atom PDF