Use a single marshal file for entire project

This commit is contained in:
TingPing
2014-02-05 20:42:48 -05:00
parent 5f7321280e
commit 34cf164aa2
17 changed files with 55 additions and 240 deletions

View File

@@ -97,15 +97,13 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>
<![CDATA[
<Command><![CDATA[
SET SOLUTIONDIR=$(SolutionDir)..\
powershell "$(SolutionDir)..\version-template.ps1" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.tt" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.utf8"
REM hexchat.rc needs to be in UCS-2 or Resource Compiler will complain
powershell "Get-Content -Encoding UTF8 '$(SolutionDir)..\src\fe-gtk\hexchat.rc.utf8' | Out-File '$(SolutionDir)..\src\fe-gtk\hexchat.rc'; Remove-Item '$(SolutionDir)..\src\fe-gtk\hexchat.rc.utf8'"
"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-source --sourcedir $(DataDir) --target "$(ProjectDir)resources.c" "$(DataDir)hexchat.gresource.xml"
]]>
</Command>
]]></Command>
<Message>Build hexchat.rc and gresource file</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
@@ -131,7 +129,6 @@ powershell "Get-Content -Encoding UTF8 '$(SolutionDir)..\src\fe-gtk\hexchat.rc.u
<ClInclude Include="servlistgui.h" />
<ClInclude Include="setup.h" />
<ClInclude Include="sexy-iso-codes.h" />
<ClInclude Include="sexy-marshal.h" />
<ClInclude Include="sexy-spell-entry.h" />
<ClInclude Include="textgui.h" />
<ClInclude Include="urlgrab.h" />
@@ -163,7 +160,6 @@ powershell "Get-Content -Encoding UTF8 '$(SolutionDir)..\src\fe-gtk\hexchat.rc.u
<ClCompile Include="servlistgui.c" />
<ClCompile Include="setup.c" />
<ClCompile Include="sexy-iso-codes.c" />
<ClCompile Include="sexy-marshal.c" />
<ClCompile Include="sexy-spell-entry.c" />
<ClCompile Include="textgui.c" />
<ClCompile Include="urlgrab.c" />