Improved cmake build script for Android:
- Error out when Ant or android can't be found
- Attempt to find the NDK toolchain binaries on Windows and Linux instead of assuming Linux
- Use find_program instead of find_path to find some binaries
- ANDROID_SDK now refers to the Android SDK base directory
- Fixed detection of android.bat on Windows
- Output of the android tool is now shown so that success/failure is visible
system;
type
Integer = integer;
LongInt = integer;
LongWord = integer;
Cardinal = integer;
PtrInt = integer;
Word = integer;
Byte = integer;
SmallInt = integer;
ShortInt = integer;
QWord = integer;
GLInt = integer;
GLUInt = integer;
pointer = pointer;
PChar = pointer;
float = float;
double = float;
real = float;
extended = float;
GLFloat = float;
boolean = boolean;
LongBool = boolean;
string = string;
shortstring = string;
ansistring = string;
char = char;
PByte = ^Byte;
PLongInt = ^LongInt;
PLongWord = ^LongWord;
PInteger = ^Integer;
Handle = integer;
stderr = Handle;
var
false, true: boolean;
write, writeLn, read, readLn, inc, dec: procedure;
StrLen, ord, Succ, Pred : function : integer;
Low, High : function : integer;
Now : function : integer;
Length : function : integer;
StrPas, FormatDateTime : function : shortstring;
exit : procedure;