From 38eef5fdb55701a0d587b77f0fb3eef8b0e60857 Mon Sep 17 00:00:00 2001 From: Matt Oliver Date: Sun, 27 Aug 2017 23:51:05 +1000 Subject: [PATCH] project: Fix build events when OutDir contains spaces. --- SMP/libzlib.vcxproj | 220 ++++++++++++++++++++++---------------------- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/SMP/libzlib.vcxproj b/SMP/libzlib.vcxproj index 4f379681e..a4bf7df05 100644 --- a/SMP/libzlib.vcxproj +++ b/SMP/libzlib.vcxproj @@ -249,9 +249,9 @@ true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -259,11 +259,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -271,11 +271,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -304,9 +304,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -314,11 +314,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -326,11 +326,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -363,9 +363,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -373,11 +373,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -385,11 +385,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -421,9 +421,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -431,11 +431,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -443,11 +443,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -490,9 +490,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -500,11 +500,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -512,11 +512,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -559,9 +559,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -569,11 +569,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -581,11 +581,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -623,9 +623,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -633,11 +633,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -645,11 +645,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -687,9 +687,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -697,11 +697,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -709,11 +709,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -754,9 +754,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -764,11 +764,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -776,11 +776,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt @@ -820,9 +820,9 @@ del /f /q $(OutDir)\licenses\zlib.txt true - mkdir $(OutDir)\include -copy ..\zlib.h $(OutDir)\include -copy .\zconf.h $(OutDir)\include + mkdir "$(OutDir)"\include +copy ..\zlib.h "$(OutDir)"\include +copy .\zconf.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\README $(OutDir)\licenses\zlib.txt @@ -830,11 +830,11 @@ copy ..\README $(OutDir)\licenses\zlib.txt if exist ..\zconf.h ( del ..\zconf.h ) -if exist $(OutDir)\include\zlib.h ( -del $(OutDir)\include\zlib.h +if exist "$(OutDir)"\include\zlib.h ( +del "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del "$(OutDir)"\include\zconf.h ) @@ -842,11 +842,11 @@ del $(OutDir)\include\zconf.h force_clean - if exist $(OutDir)\include\zlib.h ( -del /f /q $(OutDir)\include\zlib.h + if exist "$(OutDir)"\include\zlib.h ( +del /f /q "$(OutDir)"\include\zlib.h ) -if exist $(OutDir)\include\zconf.h ( -del /f /q $(OutDir)\include\zconf.h +if exist "$(OutDir)"\include\zconf.h ( +del /f /q "$(OutDir)"\include\zconf.h ) if exist $(OutDir)\licenses\zlib.txt ( del /f /q $(OutDir)\licenses\zlib.txt