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

[WIP]: Conversion to CMake build system. #60

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

[WIP]: Conversion to CMake build system. #60

wants to merge 17 commits into from

Conversation

shymega
Copy link
Collaborator

@shymega shymega commented Jul 1, 2023

As discussed with the team, this is a draft PR for the conversion of Makefiles to CMake.

This means enhanced IDE/editor support, easier code FFI with Rust, and easier maintenance.

This PR may be force-pushed at points, but eventually, will be squashed when ready.

For now, it's a draft, and contributions are welcome via reviews.

@Newbytee
Copy link

Sorry if this is unsolicited feedback, but why CMake over Meson?

@shymega
Copy link
Collaborator Author

shymega commented Sep 14, 2023

@Newbytee Because I, and other maintainers, are more experienced with CMake, and prefer it over Meson.

We're also looking to integrate Rust with the codebase, and CMake handles this better, in my experience with similar initiatives.

CMake is also older, and has an established ecosystem.

shymega added 16 commits July 22, 2024 00:30
Signed-off-by: Dom Rodriguez <[email protected]>
Also:

- Expand on CMakeLists.txt files

Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Signed-off-by: Dom Rodriguez <[email protected]>
Main work by @nicka101.

Also, by @shymega:

- Add another `target_link_libraries` to util_sha256
    This links to CMSIS and HAL libs.
- Fixup Dockerfile for GCC ARM download, and tidy
- Had to run `dos2unix` on some files.
- Remove `*.cmake` from .gitignore
  This allows us to keep future CMake modules, for example, Corrosion.
- Update devcontainer.json name
- Move `.devcontainer/devcontainer.json` to root of repo

Signed-off-by: Dom Rodriguez <[email protected]>
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.

3 participants