mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 03:00:19 +00:00
Add XP (WDK) solution as a fallback option
This commit is contained in:
228
win32/copy/copy-xp.vcxproj
Normal file
228
win32/copy/copy-xp.vcxproj
Normal file
@@ -0,0 +1,228 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{C9B735E4-75BC-45AC-A5E3-39A6D076F912}</ProjectGuid>
|
||||
<RootNamespace>copy</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>WDK7</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>WDK7</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\hexchat-xp.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\hexchat-xp.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<OutDir>$(SolutionDir)build\$(PlatformName)\bin\</OutDir>
|
||||
<IntDir>$(SolutionDir)build\$(PlatformName)\obj\$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>$(SolutionDir)build\$(PlatformName)\bin\</OutDir>
|
||||
<IntDir>$(SolutionDir)build\$(PlatformName)\obj\$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>rmdir /q /s "$(HexChatDest)"
|
||||
mkdir "$(HexChatDest)"
|
||||
echo 2> portable-mode
|
||||
move portable-mode "$(HexChatDest)"
|
||||
copy "$(OutDir)\hexchat.exe" "$(HexChatDest)"
|
||||
copy "$(OutDir)\hexchat-text.exe" "$(HexChatDest)"
|
||||
copy "$(OutDir)\thememan.exe" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libatk-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libcairo-2.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libexpat-1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libfontconfig-1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\freetype6.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgdk_pixbuf-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgdk-win32-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgio-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libglib-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgmodule-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgobject-2.0-0.dll" "$(HexChatDest)
|
||||
copy "$(DepsRoot)\bin\libgthread-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgtk-win32-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\intl.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpango-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangocairo-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangoft2-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangowin32-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpng14-14.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libxml2.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\2.10.0\engines" "$(HexChatDest)\lib\gtk-2.0\2.10.0\engines"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\modules\libgail.dll" "$(HexChatDest)\lib\gtk-2.0\modules\"
|
||||
xcopy /q /s /i etc "$(HexChatDest)\etc"
|
||||
xcopy /q /s /i share "$(HexChatDest)\share"
|
||||
copy "..\..\COPYING" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.OPENSSL" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.ZLIB" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\share\gettext\intl\COPYING.LIB-2.0" "$(HexChatDest)\LICENSE.GTK"
|
||||
copy "$(DepsRoot)\share\gettext\intl\COPYING.LIB-2.1" "$(HexChatDest)\LICENSE.CAIRO"
|
||||
copy "$(DepsRoot)\LICENSE.LUA" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.ENCHANT" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.LIBXML" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libeay32.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\ssleay32.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\zlib1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\cert.pem" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libenchant.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\enchant\libenchant_myspell.dll" "$(HexChatDest)\lib\enchant\"
|
||||
xcopy /q /s /i "$(OutDir)hcchecksum.dll" "$(HexChatDest)\plugins\"
|
||||
copy "$(OutDir)\hcdns.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcdoat.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcexec.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcfishlim.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hclua.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-512.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-514.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-516.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcpython.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hctcl.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcupd.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcsasl.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hextray.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwinamp.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwinsys.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwmpa.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(DepsRoot)\bin\lua51.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(OutDir)\locale" "$(HexChatDest)\locale"
|
||||
xcopy /q /s /i "$(DepsRoot)\share\locale" "$(HexChatDest)\share\locale"
|
||||
copy "$(ProgramFiles)\Codejock Software\ISSkin\ISSkinU.dll" "$(HexChatDest)"
|
||||
copy "..\installer\watercolorlite-green.cjstyles" "$(HexChatDest)"</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>rmdir /q /s "$(HexChatDest)"
|
||||
mkdir "$(HexChatDest)"
|
||||
echo 2> portable-mode
|
||||
move portable-mode "$(HexChatDest)"
|
||||
copy "$(OutDir)\hexchat.exe" "$(HexChatDest)"
|
||||
copy "$(OutDir)\hexchat-text.exe" "$(HexChatDest)"
|
||||
copy "$(OutDir)\thememan.exe" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libatk-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libcairo-2.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libexpat-1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libfontconfig-1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libfreetype-6.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgdk_pixbuf-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgdk-win32-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgio-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libglib-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgmodule-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgobject-2.0-0.dll" "$(HexChatDest)
|
||||
copy "$(DepsRoot)\bin\libgthread-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libgtk-win32-2.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libintl-8.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpango-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangocairo-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangoft2-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpangowin32-1.0-0.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libpng14-14.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libxml2.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\2.10.0\engines" "$(HexChatDest)\lib\gtk-2.0\2.10.0\engines"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\modules\libgail.dll" "$(HexChatDest)\lib\gtk-2.0\modules\"
|
||||
xcopy /q /s /i etc "$(HexChatDest)\etc"
|
||||
xcopy /q /s /i share "$(HexChatDest)\share"
|
||||
copy "..\..\COPYING" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.OPENSSL" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.ZLIB" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\share\gettext\intl\COPYING.LIB-2.0" "$(HexChatDest)\LICENSE.GTK"
|
||||
copy "$(DepsRoot)\share\gettext\intl\COPYING.LIB-2.1" "$(HexChatDest)\LICENSE.CAIRO"
|
||||
copy "$(DepsRoot)\LICENSE.LUA" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.ENCHANT" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\LICENSE.LIBXML" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libeay32.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\ssleay32.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\zlib1.dll" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\cert.pem" "$(HexChatDest)"
|
||||
copy "$(DepsRoot)\bin\libenchant.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(DepsRoot)\lib\enchant\libenchant_myspell.dll" "$(HexChatDest)\lib\enchant\"
|
||||
xcopy /q /s /i "$(OutDir)hcchecksum.dll" "$(HexChatDest)\plugins\"
|
||||
copy "$(OutDir)\hcdns.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcdoat.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcexec.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcfishlim.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hclua.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-512.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-514.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcperl-516.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcpython.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hctcl.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcupd.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcsasl.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hextray.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwinamp.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwinsys.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(OutDir)\hcwmpa.dll" "$(HexChatDest)\plugins"
|
||||
copy "$(DepsRoot)\bin\lua51.dll" "$(HexChatDest)"
|
||||
xcopy /q /s /i "$(OutDir)\locale" "$(HexChatDest)\locale"
|
||||
xcopy /q /s /i "$(DepsRoot)\share\locale" "$(HexChatDest)\share\locale"
|
||||
copy "$(ProgramFiles)\Codejock Software\ISSkin\ISSkinU.dll" "$(HexChatDest)"
|
||||
copy "..\installer\watercolorlite-blue.cjstyles" "$(HexChatDest)"</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="etc\download.png" />
|
||||
<None Include="etc\gtk-2.0\gtkrc" />
|
||||
<None Include="etc\gtkpref.png" />
|
||||
<None Include="etc\music.png" />
|
||||
<None Include="etc\system.png" />
|
||||
<None Include="share\xml\iso-codes\iso_3166.xml" />
|
||||
<None Include="share\xml\iso-codes\iso_639.xml" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
46
win32/copy/copy-xp.vcxproj.filters
Normal file
46
win32/copy/copy-xp.vcxproj.filters
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{e02a8c67-767c-4c6e-a854-81fae08cf4da}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files\etc">
|
||||
<UniqueIdentifier>{503881c0-011d-443b-a373-4bfe125dcfa6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files\share">
|
||||
<UniqueIdentifier>{4316433a-2a8e-48f7-9020-e1f4de0d23d1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files\etc\gtk-2.0">
|
||||
<UniqueIdentifier>{832ebebc-ab71-4bf6-9f3a-02ec748f7c14}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files\share\xml">
|
||||
<UniqueIdentifier>{9a881586-aed2-4f80-ba84-e521e6785566}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files\share\xml\iso-codes">
|
||||
<UniqueIdentifier>{c825f724-0618-4160-97b7-12d6e0f2bc7b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="etc\download.png">
|
||||
<Filter>Resource Files\etc</Filter>
|
||||
</None>
|
||||
<None Include="etc\gtkpref.png">
|
||||
<Filter>Resource Files\etc</Filter>
|
||||
</None>
|
||||
<None Include="etc\music.png">
|
||||
<Filter>Resource Files\etc</Filter>
|
||||
</None>
|
||||
<None Include="etc\system.png">
|
||||
<Filter>Resource Files\etc</Filter>
|
||||
</None>
|
||||
<None Include="etc\gtk-2.0\gtkrc">
|
||||
<Filter>Resource Files\etc\gtk-2.0</Filter>
|
||||
</None>
|
||||
<None Include="share\xml\iso-codes\iso_639.xml">
|
||||
<Filter>Resource Files\share\xml\iso-codes</Filter>
|
||||
</None>
|
||||
<None Include="share\xml\iso-codes\iso_3166.xml">
|
||||
<Filter>Resource Files\share\xml\iso-codes</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user