diff deploy/win64/generate-qrc.bat @ 40:eb1788a438dc

Further MSVC bits
author Chris Cannam
date Wed, 18 Dec 2019 17:30:08 +0000
parents
children 38cd115c91d4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/win64/generate-qrc.bat	Wed Dec 18 17:30:08 2019 +0000
@@ -0,0 +1,16 @@
+@echo off
+
+set ME=%0
+set QRC=%1
+shift
+
+set IN=%QRC%.in
+
+if not exist %IN% (
+    echo Could not find input file %IN%
+    exit /b 2
+)
+
+@echo on
+
+powershell -Command "(Get-Content %IN%) -replace '@SUFFIX@', 'dll' | Out-File -encoding ASCII %QRC%"