summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.vcxproj
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-29 02:24:30 -0400
committerTingPing <tingping@tingping.se>2013-09-29 02:24:30 -0400
commit00bd389cdcd3e481c92de435e626a2618d4a128c (patch)
treeed9852f20ab8dff18672b29eaccce05878251d38 /src/fe-gtk/fe-gtk.vcxproj
parent4ba886f7aaf884c518637173be0b1d8e9b190e86 (diff)
parent1f84c507a058f5baa01a632ce2478fa31854907d (diff)
Merge branch 'gresource'
Diffstat (limited to 'src/fe-gtk/fe-gtk.vcxproj')
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj14
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">