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
|
|
|
<ImportGroup Label="PropertySheets" />
|
2013-04-08 01:12:19 +02:00
|
|
|
|
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
|
|
|
|
2013-04-12 18:04:22 +02:00
|
|
|
<YourDepsPath>c:\mozilla-build\hexchat\gtk</YourDepsPath>
|
2013-04-01 05:10:23 +02:00
|
|
|
<YourGendefPath>c:\mozilla-build\gendef</YourGendefPath>
|
|
|
|
<YourMsgfmtPath>c:\mozilla-build\msgfmt</YourMsgfmtPath>
|
2013-04-13 02:26:26 +02:00
|
|
|
<YourPerlPath>c:\mozilla-build\perl-5.18</YourPerlPath>
|
2013-05-02 17:20:05 +02:00
|
|
|
<YourPython2Path>c:\mozilla-build\python-2.7</YourPython2Path>
|
2014-03-17 14:05:58 +01:00
|
|
|
<YourPython3Path>c:\mozilla-build\python-3.4</YourPython3Path>
|
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_* -->
|
2013-05-12 07:43:27 +02:00
|
|
|
<!-- must be buildable with GSEAL_ENABLE in the future, xtext, setup, and chanview-tabs stand in the way -->
|
2014-02-08 15:53:56 +01:00
|
|
|
<OwnFlags>GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline</OwnFlags>
|
2013-04-01 05:10:23 +02:00
|
|
|
<DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot>
|
|
|
|
<GendefPath>$(YourGendefPath)</GendefPath>
|
|
|
|
<MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath>
|
2013-04-13 02:26:26 +02:00
|
|
|
<PerlPath>$(YourPerlPath)\$(PlatformName)</PerlPath>
|
2013-05-18 21:33:06 +02:00
|
|
|
<PerlLib>perl518</PerlLib>
|
2013-04-13 02:26:26 +02:00
|
|
|
<PerlOutput>hcperl</PerlOutput>
|
2013-05-02 17:20:05 +02:00
|
|
|
<Python2Path>$(YourPython2Path)\$(PlatformName)</Python2Path>
|
|
|
|
<Python2Lib>python27</Python2Lib>
|
|
|
|
<Python2Output>hcpython2</Python2Output>
|
|
|
|
<Python3Path>$(YourPython3Path)\$(PlatformName)</Python3Path>
|
2014-03-17 14:05:58 +01:00
|
|
|
<Python3Lib>python34</Python3Lib>
|
2013-05-02 17:20:05 +02:00
|
|
|
<Python3Output>hcpython3</Python3Output>
|
2013-04-01 05:10:23 +02:00
|
|
|
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
|
|
|
|
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
|
|
|
|
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.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;libintl.lib;libxml2.lib;libeay32.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
|
2014-03-18 19:05:54 +01:00
|
|
|
<DataDir>$(SolutionDir)..\data\\</DataDir>
|
2013-04-01 05:10:23 +02:00
|
|
|
<HexChatBuild>$(SolutionDir)..\..\hexchat-build</HexChatBuild>
|
|
|
|
<HexChatBin>$(HexChatBuild)\$(PlatformName)\bin\</HexChatBin>
|
|
|
|
<HexChatObj>$(HexChatBuild)\$(PlatformName)\obj\</HexChatObj>
|
|
|
|
<HexChatRel>$(HexChatBuild)\$(PlatformName)\rel</HexChatRel>
|
|
|
|
<HexChatCopy>
|
2013-02-16 16:00:20 +01:00
|
|
|
rmdir /q /s "$(HexChatRel)"
|
|
|
|
mkdir "$(HexChatRel)"
|
|
|
|
echo 2> portable-mode
|
|
|
|
move portable-mode "$(HexChatRel)"
|
|
|
|
copy changelog.url "$(HexChatRel)"
|
|
|
|
copy readme.url "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\cert.pem" "$(HexChatRel)"
|
|
|
|
copy "$(HexChatBin)hexchat.exe" "$(HexChatRel)"
|
|
|
|
copy "$(HexChatBin)hexchat-text.exe" "$(HexChatRel)"
|
|
|
|
copy "$(HexChatBin)thememan.exe" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\atk-1.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\cairo.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\fontconfig.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gdk_pixbuf-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gdk-win32-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gio-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\glib-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gmodule-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gobject-2.0.dll" "$(HexChatRel)
|
|
|
|
copy "$(DepsRoot)\bin\gthread-2.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\gtk-win32-2.0.dll" "$(HexChatRel)"
|
2013-02-18 05:15:36 +01:00
|
|
|
copy "$(DepsRoot)\bin\harfbuzz.dll" "$(HexChatRel)"
|
2013-02-16 16:00:20 +01:00
|
|
|
copy "$(DepsRoot)\bin\iconv.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\libeay32.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\libenchant.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\libintl.dll" "$(HexChatRel)"
|
2013-04-08 01:12:19 +02:00
|
|
|
copy "$(DepsRoot)\bin\libpng16.dll" "$(HexChatRel)"
|
2013-02-16 16:00:20 +01:00
|
|
|
copy "$(DepsRoot)\bin\libxml2.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\pango-1.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\pangocairo-1.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\pangoft2-1.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\pangowin32-1.0.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\pixman-1.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\ssleay32.dll" "$(HexChatRel)"
|
|
|
|
copy "$(DepsRoot)\bin\zlib1.dll" "$(HexChatRel)"
|
|
|
|
xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\i686-pc-vs10\engines" "$(HexChatRel)\lib\gtk-2.0\i686-pc-vs10\engines"
|
|
|
|
xcopy /q /s /i etc "$(HexChatRel)\etc"
|
|
|
|
xcopy /q /s /i share "$(HexChatRel)\share"
|
2013-09-28 03:56:13 +02:00
|
|
|
xcopy /q /s /i "..\..\COPYING" "$(HexChatRel)\"
|
2013-02-16 16:00:20 +01:00
|
|
|
xcopy /q /s /i "$(DepsRoot)\lib\enchant\libenchant_myspell.dll" "$(HexChatRel)\lib\enchant\"
|
|
|
|
xcopy /q /s /i "$(HexChatBin)hcchecksum.dll" "$(HexChatRel)\plugins\"
|
|
|
|
copy "$(HexChatBin)hcdns.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcdoat.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcexec.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcfishlim.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcmpcinfo.dll" "$(HexChatRel)\plugins"
|
2013-04-13 02:26:26 +02:00
|
|
|
copy "$(HexChatBin)hcperl.dll" "$(HexChatRel)\plugins"
|
2013-05-02 17:20:05 +02:00
|
|
|
copy "$(HexChatBin)hcpython2.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcpython3.dll" "$(HexChatRel)\plugins"
|
2013-02-16 16:00:20 +01:00
|
|
|
copy "$(HexChatBin)hcupd.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcwinamp.dll" "$(HexChatRel)\plugins"
|
|
|
|
copy "$(HexChatBin)hcsysinfo.dll" "$(HexChatRel)\plugins"
|
|
|
|
xcopy /q /s /i "$(HexChatBin)locale" "$(HexChatRel)\share\locale"
|
|
|
|
xcopy /q /s /i "$(DepsRoot)\share\locale" "$(HexChatRel)\share\locale"
|
2013-04-01 05:10:23 +02:00
|
|
|
</HexChatCopy>
|
2013-11-03 23:46:13 +01:00
|
|
|
<IsccPath Condition="'$(Platform)'=='Win32'">"%PROGRAMFILES%\Inno Setup 5\iscc.exe"</IsccPath>
|
|
|
|
<IsccPath Condition="'$(Platform)'=='x64'">"%PROGRAMFILES(x86)%\Inno Setup 5\iscc.exe"</IsccPath>
|
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>
|
|
|
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
2013-09-20 13:09:21 +02:00
|
|
|
<AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>
|
2013-09-28 03:56:13 +02:00
|
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
2013-07-24 20:56:36 +02:00
|
|
|
<!-- UNCOMMENT ONLY ONE -->
|
|
|
|
<!--Optimization>Disabled</Optimization-->
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<!--Optimization>MinSpace</Optimization-->
|
|
|
|
<!--Optimization>Full</Optimization-->
|
2013-04-01 05:10:23 +02:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2013-02-16 16:00:20 +01:00
|
|
|
|
2013-04-01 05:10:23 +02:00
|
|
|
<ItemGroup />
|
2013-02-16 16:00:20 +01:00
|
|
|
</Project>
|