summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-04-10 11:37:05 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2015-04-10 11:37:05 +0100
commite258bd62fcf137d1783fa82164d72a0a7821ff49 (patch)
treee3f1024d125529a681da4c6e18cf4338118eec68 /src
parentac1ade3e6c4c01e6e1137ab1514899e05169538e (diff)
downloadfpGUI-e258bd62fcf137d1783fa82164d72a0a7821ff49.tar.xz
wince: adds a new batch file for WinCE-ARM target
Making it a bit easier to compile the framework for this platform.
Diffstat (limited to 'src')
-rw-r--r--src/build_wince.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/build_wince.bat b/src/build_wince.bat
new file mode 100644
index 00000000..26223e34
--- /dev/null
+++ b/src/build_wince.bat
@@ -0,0 +1,22 @@
+@echo off
+
+rem We use FPC to found out the Platform and OS to create a lib output path
+fpc -Parm -Twince -iTP > tmpvar
+set /p myplatform= < tmpvar
+fpc -Parm -Twince -iTO > tmpvar
+set /p myos= < tmpvar
+del tmpvar
+
+if exist ..\lib\%myplatform%-%myos%\nul.x goto exists
+
+echo Creating missing directory ..\lib\%myplatform%-%myos%
+mkdir ..\lib\%myplatform%-%myos%
+goto end
+
+:exists
+echo "You've got the correct output lib directory"
+
+:end
+
+fpc -v0 -dGDI -Twince -Parm @extrafpc.cfg corelib\gdi\fpgui_toolkit.pas
+