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

refactor: normalised namespaces, updated file structure and applied stricter warning levels #34

Merged
merged 6 commits into from
Dec 9, 2023

Conversation

tomezpl
Copy link
Owner

@tomezpl tomezpl commented Dec 9, 2023

This PR aims to clean up the project in general - starting with namespaces, each module is now part of the global lepus:: namespace, and module namespaces have been converted into more typing-friendly lowercase counterparts:

  • lepus::gfx::
  • lepus::engine::
  • lepus::system::
  • lepus::util::
  • etc.

Source files structure and CMakeLists have been updated accordingly.

In addition, CMake has been configured to use higher warning levels, and to treat warnings as errors (only in MSVC, as on the whole that seems to be more lenient than GCC). Going forward warnings will likely be suppressed on a case-by-case basis but it should be enough to prevent some of the more major mistakes.

Minor code changes have been made across the project to comply with the warnings.

Closes #33

@tomezpl tomezpl added this to the Rewrite milestone Dec 9, 2023
@tomezpl tomezpl self-assigned this Dec 9, 2023
@tomezpl tomezpl changed the title Cleanup refactor: normalised namespaces, updated file structure and applied stricter warning levels Dec 9, 2023
@tomezpl tomezpl merged commit 6a9a009 into rewrite Dec 9, 2023
1 check passed
@tomezpl tomezpl deleted the 33-namespace-cleanup branch December 9, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant