summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.vcxproj
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-03-18 11:05:54 -0700
committerArnavion <arnavion@gmail.com>2014-03-18 11:05:54 -0700
commit99ee7b6ef815f591d95f7729a8537904d3bf0c25 (patch)
tree7c05d4dc06e6e32d59d252481ee05b91d48acd1f /src/fe-gtk/fe-gtk.vcxproj
parent4cc764256c55c7b1da3f43750e76a45e6a593d94 (diff)
win32: Quote paths when invoking glib-compile-resources.exe
Also escape the trailing backslash in DataDir since otherwise it escapes the double-quote after it.
Diffstat (limited to 'src/fe-gtk/fe-gtk.vcxproj')
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index d415175c..6ac3cb58 100644
--- a/src/fe-gtk/fe-gtk.vcxproj
+++ b/src/fe-gtk/fe-gtk.vcxproj
@@ -102,7 +102,7 @@ SET SOLUTIONDIR=$(SolutionDir)..\
 powershell -File "$(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"

+"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-source --sourcedir "$(DataDir)" --target "$(ProjectDir)resources.c" "$(DataDir)hexchat.gresource.xml"

       ]]></Command>

       <Message>Build hexchat.rc and gresource file</Message>

     </PreBuildEvent>