From ebce21e3bc782bcc54cf0456a043a46e928197c8 Mon Sep 17 00:00:00 2001 From: graemeg Date: Thu, 4 Dec 2008 07:11:47 +0000 Subject: * updated windows build batch file to create output lib dir. --- src/build.bat | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/build.bat b/src/build.bat index f0e3db76..af997ecd 100644 --- a/src/build.bat +++ b/src/build.bat @@ -1,2 +1,14 @@ -fpc -dRELEASE -dGDI @extrafpc.cfg corelib\gdi\fpgui_toolkit.pas - +@echo off +; I don't know how to store the output to a variable: fpctarget=`fpc -iTP`-`fpc -iTO` +if exist ..\lib\i386-win32\nul.x goto exists +echo "Creating missing directory ..\lib\i386-win32" +mkdir ..\lib\i386-win32 +goto end + +:exists +echo "You've got the correct output lib directory" + +:end + +fpc -dRELEASE -dGDI @extrafpc.cfg corelib\gdi\fpgui_toolkit.pas + -- cgit v1.2.3-70-g09d2