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: 🔨 Rework Build System with Meson #41

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

meisZWFLZ
Copy link

@meisZWFLZ meisZWFLZ commented Feb 27, 2025

Overview

Old build system bad. Meson good.

Motivation

Makefiles are annoying to work with and the old makefile system did a lot:

  • supporting hot/cold packages and monoliths
  • supporting templates and user programs in the same makefile

Meson helps us by simplifying a lot of the work for the build system. It also simplifies adding new features like unit testing, precompiled headers, and unity builds.

Additionally, Meson provides tools for dependency management so we don't have to remake the wheel.

References (optional)

Resolves #10

Implementation Details (optional)

Test Plan:

  • Get kernel to successfully compile
  • Test that the kernel and a basic main.cpp works on robot
  • Kernel compiling to a template
  • Kernel template successfully compiles with user project
  • User project works on robot

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.

✨ CMake
2 participants