Package org.codehaus.mojo.natives.linker
Class LinkerConfiguration
java.lang.Object
org.codehaus.mojo.natives.ConfigurationBase
org.codehaus.mojo.natives.linker.LinkerConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanEnable this option to speed up linkage for large project with no dependencies changesprivate String[]private StringMust be in your pathprivate FileSingle location that the client must place library files to be linked withLibrary file names in externalLibDirectoryprivate String[]private Fileprivate Stringprivate Stringprivate String[]Will be passed to linker executableprivate booleanFor project with lots of object files on windows, turn this flag to resolve Windows command line length limitprivate File -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]convenient method to get linker output fileString[]booleanbooleanvoidsetCheckStaleLinkage(boolean checkStaleLinkage) voidsetEndOptions(String[] options) voidsetExecutable(String executable) voidvoidsetExternalLibFileNames(List<String> list) voidsetMiddleOptions(String[] options) voidsetOutputDirectory(File dir) voidvoidsetOutputFileName(String name) voidsetStartOptions(String[] options) voidsetUsingLinkerResponseFile(boolean useObjectsFile) voidsetWorkingDirectory(File dir) Methods inherited from class org.codehaus.mojo.natives.ConfigurationBase
getEnvFactory, setEnvFactory
-
Field Details
-
workingDirectory
-
executable
Must be in your path -
startOptions
Will be passed to linker executable -
middleOptions
-
endOptions
-
outputDirectory
-
outputFileExtension
-
outputFileName
-
externalLibDirectory
Single location that the client must place library files to be linked with -
externalLibFileNames
Library file names in externalLibDirectory -
usingLinkerResponseFile
private boolean usingLinkerResponseFileFor project with lots of object files on windows, turn this flag to resolve Windows command line length limit -
checkStaleLinkage
private boolean checkStaleLinkageEnable this option to speed up linkage for large project with no dependencies changes- Since:
- 1.0-alpha-8
-
-
Constructor Details
-
LinkerConfiguration
public LinkerConfiguration()
-
-
Method Details
-
getOutputDirectory
-
setOutputDirectory
-
getOutputFileExtension
-
setOutputFileExtension
-
getWorkingDirectory
-
setWorkingDirectory
-
getStartOptions
-
setStartOptions
-
getMiddleOptions
-
setMiddleOptions
-
getEndOptions
-
setEndOptions
-
getExecutable
-
setExecutable
-
getOutputFileName
-
setOutputFileName
-
getOutputFile
convenient method to get linker output file- Returns:
-
getExternalLibFileNames
-
setExternalLibFileNames
-
setExternalLibDirectory
-
getExternalLibDirectory
-
isUsingLinkerResponseFile
public boolean isUsingLinkerResponseFile() -
setUsingLinkerResponseFile
public void setUsingLinkerResponseFile(boolean useObjectsFile) -
isCheckStaleLinkage
public boolean isCheckStaleLinkage() -
setCheckStaleLinkage
public void setCheckStaleLinkage(boolean checkStaleLinkage)
-