From ca7340530dc25f1014d67f7ee0b4c63250d5659d Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 13 Feb 2026 19:28:34 -0700 Subject: [PATCH] Updated Win32 path macro handling in win32/zoitechat.props so local Your*Path values can now be sourced from environment variables (ZOITECHAT_DEPS_PATH, ZOITECHAT_GENDEF_PATH, ZOITECHAT_PERL_PATH, ZOITECHAT_PYTHON3_PATH, ZOITECHAT_WINSPARKLE_PATH) before falling back to the existing c:\gtk-build\... defaults. This makes CI/dev-shell overrides much easier without manually editing the props file each time. Added a new MSBuild target (ValidateWindowsBuildEnvironment) that runs before build prep and fails fast with explicit errors when GTK/GLib/OpenSSL headers or Python are missing, instead of allowing a long cascade of downstream compile/link/copy failures. --- win32/zoitechat.props | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/win32/zoitechat.props b/win32/zoitechat.props index ad72202f..0ec5a2e4 100644 --- a/win32/zoitechat.props +++ b/win32/zoitechat.props @@ -4,11 +4,16 @@ - c:\gtk-build\gtk - c:\gtk-build\gendef - c:\gtk-build\perl-5.20 - c:\gtk-build\python-3.14 - c:\gtk-build\WinSparkle + $(ZOITECHAT_DEPS_PATH) + c:\gtk-build\gtk + $(ZOITECHAT_GENDEF_PATH) + c:\gtk-build\gendef + $(ZOITECHAT_PERL_PATH) + c:\gtk-build\perl-5.20 + $(ZOITECHAT_PYTHON3_PATH) + c:\gtk-build\python-3.14 + $(ZOITECHAT_WINSPARKLE_PATH) + c:\gtk-build\WinSparkle @@ -140,10 +145,18 @@ + + + + + + + + + -