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

✨ Add libhal, util & mock to build & -fno-rtti #5

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

kammce
Copy link
Member

@kammce kammce commented Mar 6, 2024

Having to add libhal, libhal-util and libhal-mock to each and every library project that uses the cmake build utility is tedious boilerplate that can be consolidated by this library. This will only affect libhal_test_and_make_library as the others need to be free to be used by libhal, libhal-util, and libhal-mock themselves.

Add -fexceptions & -fno-rtti flags to the library build flags to ensure that unnecessary RTTI is not embedded into the library binaries.

Having to add libhal, libhal-util and libhal-mock to each and every
library project that uses the cmake build utility is tedious boilerplate
that can be consolidated by this library. This will only affect
`libhal_test_and_make_library` as the others need to be free to be used
by `libhal`, `libhal-util`, and `libhal-mock` themselves.

Add -fexceptions & -fno-rtti flags to the library build flags to ensure
that unnecessary RTTI is not embedded into the library binaries.
@kammce kammce merged commit 5a84504 into main Mar 6, 2024
1 check passed
@kammce kammce deleted the build-message branch March 6, 2024 21:53
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