TargetMachO

From Xojo Documentation

Constant As Boolean

anBoolean = TargetMachO

Used to indicate that you are compiling code for the macOS Mach-O runtime architecture. All macOS builds currently use the Mach-O format.

Syntax

result = TargetMachO

Part Type Description
result Boolean Returns True if you are compiling Mach-O code or running a Mach-O macOS app. When building macOS applications, this always returns True.

Notes

TargetMachO is always True if you choose to build a macOS app.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetCocoa, TargetDesktop, TargetLinux, TargetLittleEndian, TargetMacOS, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement.