diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-12-04 07:11:47 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-12-04 07:11:47 +0000 |
commit | ebce21e3bc782bcc54cf0456a043a46e928197c8 (patch) | |
tree | 5ed4ce32f19d0144249b5c2860a38d706fcad4db | |
parent | be113fdf0215c0b33aa310cfb15499aea6910d19 (diff) | |
download | fpGUI-ebce21e3bc782bcc54cf0456a043a46e928197c8.tar.xz |
* updated windows build batch file to create output lib dir.
-rw-r--r-- | src/build.bat | 16 |
1 files 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
+
|