Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #780185

Meson: Get version information and capstr from fc_version

Added by Marko Lindqvist almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Bootstrap
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

First step to provide correctly generated fc_config.h and freeciv_config.h for meson builds is to get information from fc_version used, instead of duplicating same information to meson.build. Of the config header generation issues this has the highest priority as capstr needs to be kept in sync between autotools and meson builds, and it's changing frequently.


Related issues

Blocks Freeciv - Feature #780151: Meson: Include common/ source files to libfreecivClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Freeciv - Feature #780294: configure.ac: Use version string from fc_versionClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist almost 4 years ago

Maybe that information needs to go to a separate header, and not to fc_config.h directly (fc_config.h can include it), since there seems to be no way to cause config header rebuild based on change on external file (fc_version). We could rebuild regular header when ever necessary.

#2 Updated by Marko Lindqvist almost 4 years ago

  • Blocks Feature #780151: Meson: Include common/ source files to libfreeciv added

#3 Updated by Marko Lindqvist almost 4 years ago

  • Blocked by Feature #780294: configure.ac: Use version string from fc_version added

#5 Updated by Marko Lindqvist almost 4 years ago

- Bump minimum meson version to 0.40.0 (for 'build_by_default' custom_target property)

#6 Updated by Marko Lindqvist almost 4 years ago

  • Status changed from Resolved to In Progress

Clean build does not work reliably since version header (sometimes?) is not generated before it's needed in dependencies/ build already.

#7 Updated by Marko Lindqvist almost 4 years ago

- Make libfc_dependencies to depend on version header, so everything depends on it, directly or indirectly
- Drop 'build_by_default' property from version header generation, and the bump to minimum meson version it used to require

#9 Updated by Marko Lindqvist almost 4 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF