refactor(core): move AsarWrapper to core directory and update includes

- Relocated AsarWrapper implementation and header files from `src/app/core/` to `src/core/` to enhance modularity and organization.
- Updated all relevant include paths across the codebase to reflect the new location of AsarWrapper.
- Adjusted CMake configurations to ensure proper compilation of the core library.

Benefits:
- Improves project structure by separating core functionalities from application-specific code.
- Facilitates easier maintenance and understanding of the codebase by clarifying the organization of core components.
This commit is contained in:
scawful
2025-10-15 17:24:05 -04:00
parent 8845bf737c
commit fd91d17ebd
19 changed files with 399 additions and 363 deletions

View File

@@ -46,9 +46,9 @@ This phase establishes a new, top-level library for application-agnostic project
1. **Create New Directory**: Create `src/core/`.
2. **Move Files**:
* Move `src/app/core/{project.h, project.cc}``src/core/`
* Move `src/app/core/{asar_wrapper.h, asar_wrapper.cc}``src/core/`
* Move `src/app/core/features.h``src/core/`
* Move `src/app/core/{project.h, project.cc}``src/core/` (pending)
* Move `src/app/core/{asar_wrapper.h, asar_wrapper.cc}``src/core/` (done)
* Move `src/app/core/features.h``src/core/` (pending)
3. **Update Namespace**: In the moved files, change the namespace from `yaze::core` to `yaze::project` for clarity.
4. **Create CMake Target**: In a new `src/core/CMakeLists.txt`, define the `yaze_core_lib` static library containing the moved files. This library should have minimal dependencies (e.g., `yaze_util`, `absl`).