Skip to content

Comments

Build with Meson#22

Open
rtbo wants to merge 21 commits intomasterfrom
meson
Open

Build with Meson#22
rtbo wants to merge 21 commits intomasterfrom
meson

Conversation

@rtbo
Copy link
Owner

@rtbo rtbo commented Feb 7, 2021

Advantages

  • Meson is much better for code generation (today everything is pre-generated manually)
    • format.d code gen
    • vulkan and opengl bindings
    • spirv shaders
  • Meson is better for mixing C++ builds with D (no need for spirv-cross or img-d prebuilt binaries)
  • Meson enables faster rebuild when only 1 file changes
  • Meson is better at driving tests (e.g. many tests started with external program like rendering comparator)

Disavantages

  • Sometimes, DUB must be invoked to build some dependencies with the right compiler
  • When rebuild, correct build dependency requires -makedeps switch. (DMD >= 2.095 / LDC >= 1.25 / Meson>=0.56.1)
  • DUB cannot use Meson to build (2 builds system necessary to support DUB PM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant