diff options
author | TingPing <tingping@tingping.se> | 2013-09-27 21:56:13 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-09-29 02:24:06 -0400 |
commit | 1f84c507a058f5baa01a632ce2478fa31854907d (patch) | |
tree | 4cbd6188a2e92839be97ac2dc996420a5c3aba00 /src/fe-gtk/fe-gtk.vcxproj | |
parent | 0d2feba69cd3fda426fd3b786afb8b7c563a62da (diff) |
Reorganize files and migrate images to gresource
Diffstat (limited to 'src/fe-gtk/fe-gtk.vcxproj')
-rw-r--r-- | src/fe-gtk/fe-gtk.vcxproj | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj index a7c40a19..73526766 100644 --- a/src/fe-gtk/fe-gtk.vcxproj +++ b/src/fe-gtk/fe-gtk.vcxproj @@ -22,13 +22,11 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>MultiByte</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>MultiByte</CharacterSet> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> @@ -97,6 +95,12 @@ <EntryPointSymbol>mainCRTStartup</EntryPointSymbol> </Link> </ItemDefinitionGroup> + <ItemDefinitionGroup> + <PreBuildEvent> + <Command>$(DepsRoot)\bin\glib-compile-resources.exe --generate-source --sourcedir $(DataDir) --target "$(ProjectDir)resources.c" "$(DataDir)hexchat.gresource.xml"</Command> + <Message>Build gresource file</Message> + </PreBuildEvent> + </ItemDefinitionGroup> <ItemGroup> <ClInclude Include="ascii.h" /> <ClInclude Include="banlist.h" /> @@ -147,6 +151,7 @@ <ClCompile Include="plugin-tray.c" /> <ClCompile Include="plugingui.c" /> <ClCompile Include="rawlog.c" /> + <ClCompile Include="resources.c" /> <ClCompile Include="servlistgui.c" /> <ClCompile Include="setup.c" /> <ClCompile Include="sexy-iso-codes.c" /> @@ -164,7 +169,10 @@ <ResourceCompile Include="hexchat.rc" /> </ItemGroup> <ItemGroup> - <None Include="..\..\share\icons\hexchat.ico" /> + <None Include="..\..\data\icons\hexchat.ico" /> + </ItemGroup> + <ItemGroup> + <Xml Include="..\..\data\hexchat.gresource.xml" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> |