Class FrameworkTarget
java.lang.Object
org.robovm.compiler.target.AbstractTarget
org.robovm.compiler.target.framework.FrameworkTarget
- All Implemented Interfaces:
Target
public class FrameworkTarget extends AbstractTarget
-
Field Summary
Fields inherited from class org.robovm.compiler.target.AbstractTarget
config -
Constructor Summary
Constructors Constructor Description FrameworkTarget(String targetType) -
Method Summary
Modifier and Type Method Description voidbuildFat(Map<Arch,File> slices)Builds a fat binary out of the specified slices.booleancanLaunch()Returnstrueif binaries created by thisTargetcan be launched, i.e.protected voiddoInstall(File installDir, String image, File resourcesDir)ArchgetArch()StringgetInstallRelativeArchivePath(Path path)OSgetOs()List<SDK>getSDKs()protected List<String>getTargetCcArgs()protected List<String>getTargetExportedSymbols()protected List<String>getTargetLibs()StringgetType()Returns a unique type id for thisTarget.voidinit(Config paramConfig)static booleanmatches(String candidate)Methods inherited from class org.robovm.compiler.target.AbstractTarget
archive, build, build, canLaunchInPlace, copyAppExtensions, copyDynamicFrameworks, copyFile, copyResources, copySwiftLibs, copyWatchApp, createLauncher, createLaunchParameters, doBuild, doInstall, doLaunch, findDirectoryInLocations, getAppDir, getBundleId, getDefaultArchs, getExecutable, getSwiftDependencies, install, isAppExtension, isDynamicLibrary, isStaticLibrary, launch, prepareLaunch, stripArchive, stripArchives, stripBitcode, stripExtraArches, updateAppExtensionBundleId
-
Constructor Details
-
FrameworkTarget
-
-
Method Details
-
matches
-
getType
Description copied from interface:TargetReturns a unique type id for thisTarget. -
getOs
Description copied from interface:TargetReturns theOSthisTargetwill build for. This is determined byTarget.init(Config). If an explicitOShas been set on theConfigin the call toTarget.init(Config)thatOSwill returned by this method. OtherwiseTarget.init(Config)will determine a defaultOSand this method returns that one. -
getArch
Description copied from interface:TargetReturns theArchthisTargetwill build for. This is determined byTarget.init(Config). If an explicitArchhas been set on theConfigin the call toTarget.init(Config)thatArchwill returned by this method. OtherwiseTarget.init(Config)will determine a defaultArchand this method returns that one. -
canLaunch
public boolean canLaunch()Description copied from interface:TargetReturnstrueif binaries created by thisTargetcan be launched, i.e. it produces executable binaries.- Specified by:
canLaunchin interfaceTarget- Overrides:
canLaunchin classAbstractTarget
-
getSDKs
-
init
Description copied from interface:Target- Specified by:
initin interfaceTarget- Overrides:
initin classAbstractTarget
-
getInstallRelativeArchivePath
- Specified by:
getInstallRelativeArchivePathin interfaceTarget- Overrides:
getInstallRelativeArchivePathin classAbstractTarget
-
getTargetExportedSymbols
- Overrides:
getTargetExportedSymbolsin classAbstractTarget
-
getTargetCcArgs
- Overrides:
getTargetCcArgsin classAbstractTarget
-
getTargetLibs
- Overrides:
getTargetLibsin classAbstractTarget
-
buildFat
Description copied from interface:TargetBuilds a fat binary out of the specified slices.- Specified by:
buildFatin interfaceTarget- Overrides:
buildFatin classAbstractTarget- Throws:
IOException
-
doInstall
- Overrides:
doInstallin classAbstractTarget- Throws:
IOException
-