Skip to content

Conversation

@src-lua
Copy link
Owner

@src-lua src-lua commented Jul 10, 2025

No description provided.

src-lua added 7 commits July 9, 2025 16:33
This commit introduces a major refactoring of the project's structure and CMake build system to establish 'Prism' as the core library product, with the application serving as a self-contained demo.

Key Changes:

- **Project Restructure**: Reorganized directories to be "Prism-centric" (`libs/Prism` -> `src`, executable -> `demo`). This clarifies the project's identity and improves modularity.

- **CMake Overhaul**: All `CMakeLists.txt` files have been rewritten to use modern, target-oriented CMake practices. This improves encapsulation and makes the library easier to reuse.

- **Optional Demo App**: The demo application in `app/` is now optional and can be disabled with the `PRISM_BUILD_DEMO` flag, making it easier for consumers to build only the library.
Reorganized header includes to use module-specific paths, moved material and IO headers to more appropriate locations, and updated CMake configuration for modular builds and shared library support. Added a dependencies overview document, improved RPATH and install settings, and updated tests to use the new include structure. This refactor improves modularity, maintainability, and clarity of the codebase.
Adjusted the order of #include statements in several header files to improve consistency and maintain coding standards. No functional changes were made.
Updated the Mesh class constructor to accept a std::filesystem::path reference instead of a std::string for improved type safety and flexibility when handling file paths.
@src-lua src-lua merged commit cde0a77 into main Jul 10, 2025
6 checks passed
@src-lua src-lua deleted the refactor/build branch July 10, 2025 00:46
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