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

Cmake Modernization #2722

Closed
wants to merge 5 commits into from
Closed

Cmake Modernization #2722

wants to merge 5 commits into from

Conversation

alexteoh-intel
Copy link
Contributor

@alexteoh-intel alexteoh-intel commented Jun 6, 2024

This PR aims to modernize CMake code in this repo. For example, we're moving away from global functions (include_directories) that impact all targets.

Coding style here is based on Effective Modern CMake, which was referred by https://cliutils.gitlab.io/modern-cmake/chapters/intro/dodonot.html.

Other misc changes:

  • Added missing library to unittest projects under fuzzing, due to undefined reference to libspdm_sleep'`

@steven-bellock
Copy link
Contributor

@alexteoh-intel is this ready for review?

@alexteoh-intel
Copy link
Contributor Author

@alexteoh-intel is this ready for review?

Hi @steven-bellock, thanks it's not yet ready. I'm still testing locally with an outside cmake project and calibrating the changes required.

@alexteoh-intel
Copy link
Contributor Author

Closing PR for now. I'm planning propose only a portion of the changes from this PR.

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.

2 participants