Normalize naming: mu::tiny brand, mu.tiny package, mu/tiny/ includes#60
Merged
Conversation
9c46dc9 to
fd890d5
Compare
include(mu.tiny) now loads cmake/mu.tiny.cmake, matching the project's canonical naming convention where the CMake module name mirrors the package name (mu.tiny).
find_package(mu.tiny) and FetchContent_Declare(mu.tiny ...) now match the canonical package name. Config files are renamed mu.tiny-config.cmake and mu.tiny-configVersion.cmake; the export set is mu.tiny-Targets.
#include "mu/tiny/test.hpp" and #include "mu/tiny/mock.h" are now the canonical include paths, matching the C++ namespace mu::tiny and the package name mu.tiny. Include guards update from INCLUDED_MUTINY_* to INCLUDED_MU_TINY_*; clang-format categories track the new prefix.
Prose, headings, and RST titles all use mu::tiny rather than Mu::tiny, matching the canonical all-lowercase form from the naming table.
String.hpp, features.hpp, time.hpp (include/mu/tiny/) and StringCollection.hpp (src/mu/tiny/) sit directly under mu/tiny/, not inside the test/ subdirectory. Their guards incorrectly carried INCLUDED_MU_TINY_TEST_* (inherited from the original MUTINY_TEST_* guards). Corrected to INCLUDED_MU_TINY_*.
thetic
added a commit
that referenced
this pull request
Apr 18, 2026
Update FetchContent name, include(Mutiny), find_package, header paths, and #include examples to match the mu.tiny naming established in #60.
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Establishes the canonical naming convention across all surfaces of the project, motivated by a future where additional mu:: libraries may exist alongside mu::tiny.
include(Mutiny)include(mu.tiny)find_package(mutiny)find_package(mu.tiny)FetchContent_Declare(mutiny ...)FetchContent_Declare(mu.tiny ...)#include "mutiny/test.hpp"#include "mu/tiny/test.hpp"#include "mutiny/test.h"#include "mu/tiny/test.h"mutinymutiny(unchanged)mu::tinymu::tiny(unchanged)libmutiny.alibmutiny.a(unchanged)mutiny_*mutiny_*(unchanged)Changes land in three commits, each building and passing all tests before the next:
cmake/Mutiny.cmake→cmake/mu.tiny.cmakemu.tinyinclude/mutiny/→include/mu/tiny/, include guardsINCLUDED_MUTINY_→INCLUDED_MU_TINY_, Doxygen INPUT,.clang-formatcategoriesRelated Issues
None
Type of Change
Checklist
docs/for any user-facing changes.mu::tinynamespace,INCLUDED_MU_TINY_guards,mutiny_C-prefix)..hand.c.cpp) is required for parity.CONTRIBUTING.mdfile to ensure compliance with architectural guidelines.