From 8f661eab186fc4c4915174207564dbdd90c8b6da Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 28 Sep 2025 14:41:09 -0400 Subject: [PATCH] Add Generated Files filter and custom build commands in YAZE.vcxproj - Introduced a new filter for "Generated Files" to organize generated headers and configuration files. - Added custom build commands to generate the yaze_config.h file with versioning information for different build configurations (Debug and Release) across multiple platforms (Win32, x64, ARM64). - Removed an unused header file from the project structure to streamline the codebase. --- YAZE.vcxproj | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/YAZE.vcxproj b/YAZE.vcxproj index f44a3b8c..69a68869 100644 --- a/YAZE.vcxproj +++ b/YAZE.vcxproj @@ -341,6 +341,9 @@ {67DA6AB6-F800-4c08-8B7A-83BB121AAD34} + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD35} + @@ -349,6 +352,9 @@ Public Headers + + Generated Files + App @@ -505,9 +511,6 @@ App\Editor\System - - App\Editor\System - App\Editor\System @@ -1011,6 +1014,27 @@ Resource Files + + + Generated Files + + + + + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + echo #define YAZE_VERSION_MAJOR 0 > "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_MINOR 3 >> "$(ProjectDir)build\yaze_config.h" & echo #define YAZE_VERSION_PATCH 1 >> "$(ProjectDir)build\yaze_config.h" + $(ProjectDir)build\yaze_config.h + +