diff options
Diffstat (limited to 'src/build.bat')
-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
+
|