- java.lang.Object
-
- com.gluonhq.substrate.target.AbstractTargetConfiguration
-
- com.gluonhq.substrate.target.MacOSTargetConfiguration
-
- All Implemented Interfaces:
TargetConfiguration
public class MacOSTargetConfiguration extends AbstractTargetConfiguration
-
-
Field Summary
-
Fields inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
crossCompile, ENABLED_FEATURES
-
-
Constructor Summary
Constructors Constructor Description MacOSTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreateSharedLib()Creates a native image that can be used as shared librarybooleanpackageApp()Creates a package of the application (including at least executable and other possible files) in a given format.-
Methods inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
compile, compileAdditionalSources, createStaticLib, getCLibPath, getLinkerLibraryPaths, getNativeCodeList, getStaticJDKLibPaths, getTargetNativeCodeExtensions, install, link, run, runUntilEnd
-
-
-
-
Constructor Detail
-
MacOSTargetConfiguration
public MacOSTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
-
Method Detail
-
packageApp
public boolean packageApp() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCreates a package of the application (including at least executable and other possible files) in a given format. By default, this method is no-op returning true.- Specified by:
packageAppin interfaceTargetConfiguration- Overrides:
packageAppin classAbstractTargetConfiguration- Returns:
- true if packaging succeeded or is a no-op, false if it failed.
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
createSharedLib
public boolean createSharedLib() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCreates a native image that can be used as shared library- Specified by:
createSharedLibin interfaceTargetConfiguration- Returns:
- true if the process succeeded or false if the process failed
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-