Enhance CMake configuration for yaze_config.h integration

- Updated `CMakeLists.txt` to improve the generation and inclusion of `yaze_config.h` by specifying source and binary directories.
- Added include directories in various CMake files to ensure proper access to generated headers, enhancing build reliability and maintainability.
- Set properties for the generated header to improve IDE integration and organization within the project structure.
This commit is contained in:
scawful
2025-09-28 19:18:36 -04:00
parent 64f3589563
commit cbe6c92da7
5 changed files with 23 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ target_include_directories(
${CMAKE_SOURCE_DIR}/src/lib/imgui_test_engine
${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${PROJECT_BINARY_DIR}
)