- java.lang.Object
-
- com.gluonhq.substrate.target.AbstractTargetConfiguration
-
- com.gluonhq.substrate.target.WindowsTargetConfiguration
-
- All Implemented Interfaces:
TargetConfiguration
public class WindowsTargetConfiguration extends AbstractTargetConfiguration
-
-
Field Summary
-
Fields inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
crossCompile, ENABLED_FEATURES
-
-
Constructor Summary
Constructors Constructor Description WindowsTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanlink()Links a previously created objectfile with the required dependencies into a native executable or 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, createSharedLib, createStaticLib, getCLibPath, getLinkerLibraryPaths, getNativeCodeList, getStaticJDKLibPaths, getTargetNativeCodeExtensions, install, run, runUntilEnd
-
-
-
-
Constructor Detail
-
WindowsTargetConfiguration
public WindowsTargetConfiguration(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
-
link
public boolean link() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from interface:TargetConfigurationLinks a previously created objectfile with the required dependencies into a native executable or library- Specified by:
linkin interfaceTargetConfiguration- Overrides:
linkin classAbstractTargetConfiguration- Returns:
- true if linking succeeded, false otherwise
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-