| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<PropertyGroup Label="Configuration"> |
| 4 |
<PlatformToolset>v142</PlatformToolset> |
| 5 |
<ConfigurationType>Application</ConfigurationType> |
| 6 |
</PropertyGroup> |
| 7 |
<ItemGroup Label="ProjectConfigurations"> |
| 8 |
<ProjectConfiguration Include="Release|Win32"> |
| 9 |
<Configuration>Release</Configuration> |
| 10 |
<Platform>Win32</Platform> |
| 11 |
</ProjectConfiguration> |
| 12 |
<ProjectConfiguration Include="Release|x64"> |
| 13 |
<Configuration>Release</Configuration> |
| 14 |
<Platform>x64</Platform> |
| 15 |
</ProjectConfiguration> |
| 16 |
</ItemGroup> |
| 17 |
<PropertyGroup Label="Globals"> |
| 18 |
<ProjectGuid>{E4BDB4C8-2335-415A-ACEE-BA88B19BFE82}</ProjectGuid> |
| 19 |
<Keyword>Win32Proj</Keyword> |
| 20 |
<RootNamespace>fegtk</RootNamespace> |
| 21 |
</PropertyGroup> |
| 22 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 23 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 24 |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 25 |
<Import Project="..\..\win32\hexchat.props" /> |
| 26 |
<PropertyGroup> |
| 27 |
<TargetName>hexchat</TargetName> |
| 28 |
<OutDir>$(HexChatRel)</OutDir> |
| 29 |
</PropertyGroup> |
| 30 |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 31 |
<ClCompile> |
| 32 |
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 33 |
<AdditionalIncludeDirectories>..\common;$(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 34 |
<DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> |
| 35 |
</ClCompile> |
| 36 |
<Link> |
| 37 |
<AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 38 |
<AdditionalDependencies>$(DepLibs);$(HexChatLib)common.lib;wbemuuid.lib;comsupp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 39 |
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol> |
| 40 |
</Link> |
| 41 |
</ItemDefinitionGroup> |
| 42 |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| 43 |
<ClCompile> |
| 44 |
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 45 |
<AdditionalIncludeDirectories>..\common;$(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 46 |
<DisableSpecificWarnings>4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> |
| 47 |
</ClCompile> |
| 48 |
<Link> |
| 49 |
<AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 50 |
<AdditionalDependencies>$(DepLibs);$(HexChatLib)common.lib;wbemuuid.lib;comsupp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 51 |
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol> |
| 52 |
</Link> |
| 53 |
</ItemDefinitionGroup> |
| 54 |
<ItemDefinitionGroup> |
| 55 |
<PreBuildEvent> |
| 56 |
<Command><![CDATA[ |
| 57 |
SET SOLUTIONDIR=$(SolutionDir)..\ |
| 58 |
powershell -File "$(SolutionDir)..\win32\version-template.ps1" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.tt" "$(HexChatLib)hexchat.rc.utf8" |
| 59 |
REM hexchat.rc needs to be in UCS-2 or Resource Compiler will complain |
| 60 |
powershell "Get-Content -Encoding UTF8 '$(HexChatLib)hexchat.rc.utf8' | Out-File '$(HexChatLib)hexchat.rc'; Remove-Item '$(HexChatLib)hexchat.rc.utf8'" |
| 61 |
"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-header --manual-register --sourcedir "$(DataDir)" --target "$(HexChatLib)resources.h" "$(DataDir)hexchat.gresource.xml" |
| 62 |
"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-source --manual-register --sourcedir "$(DataDir)" --target "$(HexChatLib)resources.c" "$(DataDir)hexchat.gresource.xml" |
| 63 |
]]></Command> |
| 64 |
<Message>Build hexchat.rc and gresource file</Message> |
| 65 |
</PreBuildEvent> |
| 66 |
</ItemDefinitionGroup> |
| 67 |
<ItemGroup> |
| 68 |
<ClInclude Include="ascii.h" /> |
| 69 |
<ClInclude Include="banlist.h" /> |
| 70 |
<ClInclude Include="chanlist.h" /> |
| 71 |
<ClInclude Include="chanview.h" /> |
| 72 |
<ClInclude Include="custom-list.h" /> |
| 73 |
<ClInclude Include="editlist.h" /> |
| 74 |
<ClInclude Include="fe-gtk.h" /> |
| 75 |
<ClInclude Include="fkeys.h" /> |
| 76 |
<ClInclude Include="gtkutil.h" /> |
| 77 |
<ClInclude Include="joind.h" /> |
| 78 |
<ClInclude Include="maingui.h" /> |
| 79 |
<ClInclude Include="menu.h" /> |
| 80 |
<ClInclude Include="notifications\notification-backend.h" /> |
| 81 |
<ClInclude Include="notifygui.h" /> |
| 82 |
<ClInclude Include="palette.h" /> |
| 83 |
<ClInclude Include="pixmaps.h" /> |
| 84 |
<ClInclude Include="plugin-tray.h" /> |
| 85 |
<ClInclude Include="plugingui.h" /> |
| 86 |
<ClInclude Include="rawlog.h" /> |
| 87 |
<ClInclude Include="servlistgui.h" /> |
| 88 |
<ClInclude Include="setup.h" /> |
| 89 |
<ClInclude Include="sexy-iso-codes.h" /> |
| 90 |
<ClInclude Include="sexy-spell-entry.h" /> |
| 91 |
<ClInclude Include="textgui.h" /> |
| 92 |
<ClInclude Include="urlgrab.h" /> |
| 93 |
<ClInclude Include="userlistgui.h" /> |
| 94 |
<ClInclude Include="xtext.h" /> |
| 95 |
</ItemGroup> |
| 96 |
<ItemGroup> |
| 97 |
<ClCompile Include="ascii.c" /> |
| 98 |
<ClCompile Include="banlist.c" /> |
| 99 |
<ClCompile Include="chanlist.c" /> |
| 100 |
<ClCompile Include="chanview.c" /> |
| 101 |
<ClCompile Include="custom-list.c" /> |
| 102 |
<ClCompile Include="dccgui.c" /> |
| 103 |
<ClCompile Include="editlist.c" /> |
| 104 |
<ClCompile Include="fe-gtk.c" /> |
| 105 |
<ClCompile Include="fkeys.c" /> |
| 106 |
<ClCompile Include="gtkutil.c" /> |
| 107 |
<ClCompile Include="ignoregui.c" /> |
| 108 |
<ClCompile Include="joind.c" /> |
| 109 |
<ClCompile Include="maingui.c" /> |
| 110 |
<ClCompile Include="menu.c" /> |
| 111 |
<ClCompile Include="notifications\notification-windows.c" /> |
| 112 |
<ClCompile Include="notifygui.c" /> |
| 113 |
<ClCompile Include="palette.c" /> |
| 114 |
<ClCompile Include="pixmaps.c" /> |
| 115 |
<ClCompile Include="plugin-notification.c" /> |
| 116 |
<ClCompile Include="plugin-tray.c" /> |
| 117 |
<ClCompile Include="plugingui.c" /> |
| 118 |
<ClCompile Include="rawlog.c" /> |
| 119 |
<ClCompile Include="$(HexChatLib)resources.c" /> |
| 120 |
<ClCompile Include="servlistgui.c" /> |
| 121 |
<ClCompile Include="setup.c" /> |
| 122 |
<ClCompile Include="sexy-iso-codes.c" /> |
| 123 |
<ClCompile Include="sexy-spell-entry.c" /> |
| 124 |
<ClCompile Include="textgui.c" /> |
| 125 |
<ClCompile Include="urlgrab.c" /> |
| 126 |
<ClCompile Include="userlistgui.c" /> |
| 127 |
<ClCompile Include="xtext.c" /> |
| 128 |
</ItemGroup> |
| 129 |
<ItemGroup> |
| 130 |
<Manifest Include="..\..\win32\hexchat.exe.manifest" /> |
| 131 |
</ItemGroup> |
| 132 |
<ItemGroup> |
| 133 |
<None Include="hexchat.rc.tt" /> |
| 134 |
<ResourceCompile Include="$(HexChatLib)hexchat.rc" /> |
| 135 |
</ItemGroup> |
| 136 |
<ItemGroup> |
| 137 |
<None Include="..\..\data\icons\hexchat.ico" /> |
| 138 |
</ItemGroup> |
| 139 |
<ItemGroup> |
| 140 |
<Xml Include="..\..\data\hexchat.gresource.xml" /> |
| 141 |
</ItemGroup> |
| 142 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 143 |
</Project> |