diff options
author | Arnavion <arnavion@gmail.com> | 2014-03-18 10:44:53 -0700 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2014-03-18 10:44:53 -0700 |
commit | 4cc764256c55c7b1da3f43750e76a45e6a593d94 (patch) | |
tree | 934fa575c919b104ea24938ed1718f3c3a724ab5 /src/fe-gtk/fe-gtk.vcxproj | |
parent | 36950c0d46da62b4c5a8d272f2fd0945c0c866e1 (diff) |
win32: Powershell.exe absolutely needs "-File" when running scripts or else it parses arguments with spaces as separate parameters.
Diffstat (limited to 'src/fe-gtk/fe-gtk.vcxproj')
-rw-r--r-- | src/fe-gtk/fe-gtk.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj index f5e2dace..d415175c 100644 --- a/src/fe-gtk/fe-gtk.vcxproj +++ b/src/fe-gtk/fe-gtk.vcxproj @@ -99,7 +99,7 @@ <PreBuildEvent> <Command><![CDATA[ SET SOLUTIONDIR=$(SolutionDir)..\ -powershell "$(SolutionDir)..\version-template.ps1" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.tt" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.utf8" +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" |