Package org.codehaus.mojo.natives.msvc
Class MSVCCompiler
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.codehaus.mojo.natives.compiler.AbstractCompiler
-
- org.codehaus.mojo.natives.c.AbstractCCompiler
-
- org.codehaus.mojo.natives.msvc.MSVCCompiler
-
- All Implemented Interfaces:
Compiler
,org.codehaus.plexus.logging.LogEnabled
public class MSVCCompiler extends AbstractCCompiler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.mojo.natives.compiler.AbstractCompiler
AbstractCompiler.CompilerRunnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map
environmentVariables
-
Constructor Summary
Constructors Constructor Description MSVCCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.plexus.util.cli.Commandline
getCommandLine(java.io.File src, java.io.File dest, CompilerConfiguration config)
Setup Compiler Command lineprotected java.util.Map
getEnvironmentVariables()
protected java.lang.String
getOutputFileOption()
protected void
setEnvironmentVariables(java.util.Map envs)
-
Methods inherited from class org.codehaus.mojo.natives.c.AbstractCCompiler
getParser
-
Methods inherited from class org.codehaus.mojo.natives.compiler.AbstractCompiler
compile, getObjectFile, getObjectFileExtension
-
-
-
-
Method Detail
-
setEnvironmentVariables
protected void setEnvironmentVariables(java.util.Map envs)
-
getEnvironmentVariables
protected java.util.Map getEnvironmentVariables()
-
getOutputFileOption
protected java.lang.String getOutputFileOption()
- Specified by:
getOutputFileOption
in classAbstractCCompiler
-
getCommandLine
protected org.codehaus.plexus.util.cli.Commandline getCommandLine(java.io.File src, java.io.File dest, CompilerConfiguration config) throws NativeBuildException
Description copied from class:AbstractCCompiler
Setup Compiler Command line- Overrides:
getCommandLine
in classAbstractCCompiler
- Throws:
NativeBuildException
-
-