Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Meson #22

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Build with Meson #22

wants to merge 21 commits into from

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.

None yet

1 participant