2013-02-16 16:00:20 +01:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2013-04-01 05:10:23 +02:00
<PropertyGroup Label="UserMacros">
2013-04-01 05:39:05 +02:00
2013-04-01 05:10:23 +02:00
<!-- SPECIFY YOUR DEPENDENCY DIRECTORIES HERE -->
2013-04-01 05:39:05 +02:00
2026-02-13 19:28:34 -07:00
<YourDepsPath Condition="'$(YourDepsPath)'==''">c:\gtk-build\gtk</YourDepsPath>
<YourGendefPath Condition="'$(YourGendefPath)'==''">c:\gtk-build\gendef</YourGendefPath>
<YourPerlPath Condition="'$(YourPerlPath)'==''">c:\gtk-build\perl-5.20</YourPerlPath>
<YourPython3Path Condition="'$(YourPython3Path)'==''">c:\gtk-build\python-3.14</YourPython3Path>
<YourWinSparklePath Condition="'$(YourWinSparklePath)'==''">c:\gtk-build\WinSparkle</YourWinSparklePath>
2013-04-01 05:39:05 +02:00
2013-04-01 05:10:23 +02:00
<!-- YOU SHOULDN'T TOUCH ANYTHING BELOW -->
2013-04-01 05:39:05 +02:00
2013-04-01 05:10:23 +02:00
<!-- G_DISABLE_DEPRECATED is unfeasible due to g_completion_* -->
2018-03-06 14:35:51 +00:00
<!-- must be buildable with GSEAL_ENABLE in the future, xtext, setup, and chanview-tabs stand in the way -->
2026-02-04 12:46:32 -07:00
<OwnFlags>GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_X509_GET_SIGNATURE_NID;HAVE_SSL_CTX_GET_SSL_METHOD;DEFAULT_CERT_FILE="cert.pem";HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;$(GtkDefines)</OwnFlags>
2026-02-03 13:22:34 -07:00
<!-- FIXME: Add ability to use debug builds -->
2026-02-13 19:41:13 -07:00
<DepsRoot>$(YourDepsPath)\$(PlatformName)\release</DepsRoot>
2013-04-01 05:10:23 +02:00
<GendefPath>$(YourGendefPath)</GendefPath>
2014-07-29 18:48:56 -04:00
<WinSparklePath>$(YourWinSparklePath)\$(PlatformName)</WinSparklePath>
2013-04-13 02:26:26 +02:00
<PerlPath>$(YourPerlPath)\$(PlatformName)</PerlPath>
2014-05-28 18:22:19 +02:00
<PerlLib>perl520</PerlLib>
2013-05-02 11:20:05 -04:00
<Python3Path>$(YourPython3Path)\$(PlatformName)</Python3Path>
2026-01-15 09:48:31 -07:00
<Python3Lib>python314</Python3Lib>
2013-05-02 11:20:05 -04:00
<Python3Output>hcpython3</Python3Output>
2026-02-13 20:14:39 -07:00
<Python3Enabled Condition="Exists('$(Python3Path)\\python.exe') and Exists('$(Python3Path)\\libs\\$(Python3Lib).lib') and Exists('$(Python3Path)\\Lib\\site-packages\\cffi')">true</Python3Enabled>
<Python3Enabled Condition="'$(Python3Enabled)'==''">false</Python3Enabled>
<PerlEnabled Condition="Exists('$(PerlPath)\\bin\\perl.exe') and Exists('$(PerlPath)\\bin\\$(PerlLib).dll') and Exists('$(GendefPath)\\gendef.exe')">true</PerlEnabled>
<PerlEnabled Condition="'$(PerlEnabled)'==''">false</PerlEnabled>
2026-02-13 20:40:48 -07:00
<InstallerEnabled Condition="Exists('$(IsccPath)')">true</InstallerEnabled>
2026-02-13 20:14:39 -07:00
<InstallerEnabled Condition="'$(InstallerEnabled)'==''">false</InstallerEnabled>
2026-02-14 00:49:32 -07:00
<LuaInclude>$(DepsRoot)\include\luajit-2.1</LuaInclude>
2026-02-03 13:22:34 -07:00
<LuaOutput>hclua</LuaOutput>
2026-02-14 00:49:32 -07:00
<LuaLib>lua51</LuaLib>
2026-02-14 12:16:41 -07:00
<LuaEnabled Condition="Exists('$(LuaInclude)\\lua.h') and Exists('$(DepsRoot)\\lib\\$(LuaLib).lib')">true</LuaEnabled>
<LuaEnabled Condition="'$(LuaEnabled)'==''">false</LuaEnabled>
2026-02-13 19:56:49 -07:00
<GlibGenMarshal Condition="'$(GlibGenMarshal)'=='' and Exists('$(DepsRoot)\\bin\\glib-genmarshal')">"$(Python3Path)\python.exe" "$(DepsRoot)\bin\glib-genmarshal"</GlibGenMarshal>
2026-02-06 00:24:24 -07:00
<GlibGenMarshal Condition="'$(GlibGenMarshal)'==''">"$(Python3Path)\python.exe" "$(DepsRoot)\bin\glib-genmarshal"</GlibGenMarshal>
2013-04-01 05:10:23 +02:00
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
2026-02-01 18:30:12 -07:00
<UsingGtk3 Condition="Exists('$(DepsRoot)\\include\\gtk-3.0\\gtk\\gtk.h')">true</UsingGtk3>
2026-02-04 18:16:59 -07:00
<GtkDefines>HAVE_GTK3</GtkDefines>
2026-02-01 18:30:12 -07:00
<Gtk3>$(DepsRoot)\include\gtk-3.0;$(DepsRoot)\lib\gtk-3.0\include</Gtk3>
2026-02-04 11:41:47 -07:00
<GtkCommon>$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0;$(DepsRoot)\include\harfbuzz</GtkCommon>
2026-02-04 18:16:59 -07:00
<Gtk>$(Gtk3);$(GtkCommon)</Gtk>
2026-02-03 13:22:34 -07:00
<SslLegacyLib Condition="Exists('$(DepsRoot)\\lib\\ssleay32.lib')">ssleay32.lib</SslLegacyLib>
<CryptoLegacyLib Condition="Exists('$(DepsRoot)\\lib\\libeay32.lib')">libeay32.lib</CryptoLegacyLib>
2026-02-14 01:47:51 -07:00
<SslModernLib Condition="Exists('$(DepsRoot)\\lib\\libssl.lib')">libssl.lib</SslModernLib>
<CryptoModernLib Condition="Exists('$(DepsRoot)\\lib\\libcrypto.lib')">libcrypto.lib</CryptoModernLib>
<OpenSslLibs Condition="'$(SslModernLib)' != '' and '$(CryptoModernLib)' != ''">$(SslModernLib);$(CryptoModernLib)</OpenSslLibs>
<OpenSslLibs Condition="'$(OpenSslLibs)' == '' and '$(SslLegacyLib)' != '' and '$(CryptoLegacyLib)' != ''">$(SslLegacyLib);$(CryptoLegacyLib)</OpenSslLibs>
2026-02-03 13:22:34 -07:00
<OpenSslInclude Condition="Exists('$(DepsRoot)\\include\\openssl\\ssl.h')">$(DepsRoot)\include</OpenSslInclude>
2026-02-14 01:54:11 -07:00
<DepLibs>gtk-3.lib;gdk-3.lib;wininet.lib;winmm.lib;ws2_32.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;iconv.lib;zlib1.lib;xml2.lib;jpeg.lib;libpng16.lib;$(OpenSslLibs)</DepLibs>
2014-03-18 11:05:54 -07:00
<DataDir>$(SolutionDir)..\data\\</DataDir>
2026-01-05 23:12:38 -07:00
<ZoiteChatBuild>$(SolutionDir)..\..\zoitechat-build</ZoiteChatBuild>
<ZoiteChatBin>$(ZoiteChatBuild)\$(PlatformName)\bin\</ZoiteChatBin>
<ZoiteChatObj>$(ZoiteChatBuild)\$(PlatformName)\obj\</ZoiteChatObj>
<ZoiteChatLib>$(ZoiteChatBuild)\$(PlatformName)\lib\</ZoiteChatLib>
<ZoiteChatPdb>$(ZoiteChatBuild)\$(PlatformName)\pdb\</ZoiteChatPdb>
<ZoiteChatRel>$(ZoiteChatBuild)\$(PlatformName)\rel\</ZoiteChatRel>
2026-02-14 02:08:48 -07:00
<IsccPath Condition="'$(IsccPath)'=='' and '$(ISCC_EXE)'!=''">$(ISCC_EXE)</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ProgramFiles(x86))'!='' and Exists('$(ProgramFiles(x86))\Inno Setup 5\iscc.exe')">$(ProgramFiles(x86))\Inno Setup 5\iscc.exe</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ProgramFiles(x86))'!='' and Exists('$(ProgramFiles(x86))\Inno Setup 6\iscc.exe')">$(ProgramFiles(x86))\Inno Setup 6\iscc.exe</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ProgramFiles)'!='' and Exists('$(ProgramFiles)\Inno Setup 5\iscc.exe')">$(ProgramFiles)\Inno Setup 5\iscc.exe</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ProgramFiles)'!='' and Exists('$(ProgramFiles)\Inno Setup 6\iscc.exe')">$(ProgramFiles)\Inno Setup 6\iscc.exe</IsccPath>
2015-02-11 10:01:29 -08:00
</PropertyGroup>
<PropertyGroup>
<LinkIncremental>false</LinkIncremental>
2026-01-05 23:12:38 -07:00
<IntDir>$(ZoiteChatObj)$(ProjectName)\</IntDir>
2015-02-11 10:01:29 -08:00
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
2013-04-01 05:10:23 +02:00
</PropertyGroup>
2013-02-16 16:00:20 +01:00
2013-04-01 05:10:23 +02:00
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level3</WarningLevel>
2015-02-11 10:01:29 -08:00
<PrecompiledHeader>NotUsing</PrecompiledHeader>
2013-04-01 05:10:23 +02:00
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
2015-02-11 10:01:29 -08:00
<AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>
<WholeProgramOptimization>true</WholeProgramOptimization>
2013-07-24 20:56:36 +02:00
<!-- UNCOMMENT ONLY ONE -->
<!--Optimization>Disabled</Optimization-->
<Optimization>MaxSpeed</Optimization>
<!--Optimization>MinSpace</Optimization-->
<!--Optimization>Full</Optimization-->
2015-02-11 10:01:29 -08:00
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
2015-02-21 03:12:27 -08:00
<PreProcessorDefinitions>NTDDI_VERSION=NTDDI_WIN8;_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreProcessorDefinitions)</PreProcessorDefinitions>
2013-04-01 05:10:23 +02:00
</ClCompile>
2015-02-11 10:01:29 -08:00
<Lib>
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
</Lib>
<Link>
2026-01-05 23:12:38 -07:00
<ImportLibrary>$(ZoiteChatLib)$(TargetName).lib</ImportLibrary>
<ProgramDatabaseFile>$(ZoiteChatPdb)$(TargetName).pdb</ProgramDatabaseFile>
2015-02-11 10:01:29 -08:00
<SubSystem>Windows</SubSystem>
2015-10-10 16:14:12 -07:00
<GenerateDebugInformation>Debug</GenerateDebugInformation>
2015-02-11 10:01:29 -08:00
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
2013-04-01 05:10:23 +02:00
</ItemDefinitionGroup>
2013-02-16 16:00:20 +01:00
2013-04-01 05:10:23 +02:00
<ItemGroup />
2026-02-04 09:14:32 -07:00
2026-02-13 19:28:34 -07:00
<Target Name="ValidateWindowsBuildEnvironment" BeforeTargets="PrepareForBuild">
<Error Condition="!Exists('$(DepsRoot)\include\glib-2.0\glib.h')" Text="Missing GTK/GLib headers under $(DepsRoot). Set YourDepsPath in win32\zoitechat.props or set ZOITECHAT_DEPS_PATH before launching Visual Studio." />
2026-02-13 19:41:13 -07:00
<Error Condition="!Exists('$(DepsRoot)\lib\glib-2.0\include\glibconfig.h')" Text="Missing glibconfig.h under $(DepsRoot). Ensure prebuilt dependencies are unpacked for $(PlatformName)." />
2026-02-13 19:28:34 -07:00
<Error Condition="!Exists('$(DepsRoot)\include\gtk-3.0\gtk\gtk.h')" Text="Missing GTK headers under $(DepsRoot). Install GTK runtime/devel files and verify YourDepsPath/ZOITECHAT_DEPS_PATH." />
<Error Condition="!Exists('$(DepsRoot)\include\openssl\ssl.h') and !Exists('$(DepsRoot)\include\openssl3\openssl\ssl.h') and !Exists('$(DepsRoot)\include\openssl-3\openssl\ssl.h')" Text="Missing OpenSSL headers under $(DepsRoot). Install OpenSSL development files for your target architecture." />
<Error Condition="!Exists('$(Python3Path)\python.exe')" Text="Missing Python at $(Python3Path). Set YourPython3Path in win32\zoitechat.props or set ZOITECHAT_PYTHON3_PATH." />
</Target>
</Project>
2026-02-04 10:15:23 -07:00
2026-02-04 10:53:20 -07:00
2026-02-04 11:41:47 -07:00
2026-02-04 12:46:32 -07:00
2026-02-04 18:16:59 -07:00
2026-02-13 20:19:47 -07:00
2026-02-13 22:08:09 -07:00
2026-02-14 00:49:32 -07:00
2026-02-14 01:47:51 -07:00
2026-02-14 01:54:11 -07:00
2026-02-14 01:58:53 -07:00
2026-02-14 02:08:48 -07:00
2026-02-14 12:16:41 -07:00