@Mojo(name="cmake",
defaultPhase=GENERATE_SOURCES)
public class CMakeMojo
extends AbstractLaunchMojo
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
additionalIncludeRoots
Directory where additional include dependencies are
|
basedir, project, reactorProjects, session, settings| Constructor and Description |
|---|
CMakeMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addCMakeDefinition(String sCMakeName,
String sMavenValue) |
protected String |
baseNameAsSharedLibrary(String sName,
boolean bMavenDependency) |
protected String |
baseNameAsSharedModule(String sName,
boolean bMavenDependency) |
protected String |
baseNameAsStaticLibrary(String sName,
boolean bMavenDependency) |
protected String |
extractBuildConfig(String classifier) |
protected String |
extractSubClassifier(String classifier) |
protected void |
findDependencies(Map<String,String> aiDependenciesRoots,
List<String> aoDependenciesLib) |
protected String |
generalizeDependencyFileName(String dependency,
boolean bMavenDependency) |
protected List<String> |
getArgsList() |
protected String |
getCommandArgs() |
protected String |
getExecutable() |
protected Map |
getMoreEnvironmentVariables() |
protected String |
getProjectDependenciesDirectory() |
protected String |
getProjectDir() |
protected List<String> |
getSuccesCode()
The current build session instance.
|
protected File |
getWorkingDir() |
protected boolean |
isDebugBuild() |
boolean |
isSkip() |
protected void |
preExecute(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Properties enviro) |
protected void |
updateOrCreateCMakeDependenciesFile(List aiDependenciesLib,
boolean bMavenDependencies) |
execute, getEnvs, getInputStream, getOutputStreamErr, getOutputStreamOut, isResultCodeAFailure, parseCommandlineArgs, postExecute@Parameter protected String[] additionalIncludeRoots
protected List<String> getArgsList()
getArgsList in class AbstractLaunchMojoprotected String getProjectDir()
protected String getCommandArgs()
getCommandArgs in class AbstractLaunchMojoprotected String getExecutable()
getExecutable in class AbstractLaunchMojoprotected Map getMoreEnvironmentVariables()
getMoreEnvironmentVariables in class AbstractLaunchMojoprotected List<String> getSuccesCode()
AbstractLaunchMojogetSuccesCode in class AbstractLaunchMojoprotected File getWorkingDir()
getWorkingDir in class AbstractLaunchMojopublic boolean isSkip()
isSkip in class AbstractLaunchMojoprotected String getProjectDependenciesDirectory()
protected void findDependencies(Map<String,String> aiDependenciesRoots, List<String> aoDependenciesLib)
protected String baseNameAsStaticLibrary(String sName, boolean bMavenDependency)
protected String baseNameAsSharedModule(String sName, boolean bMavenDependency)
protected String baseNameAsSharedLibrary(String sName, boolean bMavenDependency)
protected String generalizeDependencyFileName(String dependency, boolean bMavenDependency)
protected boolean isDebugBuild()
protected void updateOrCreateCMakeDependenciesFile(List aiDependenciesLib, boolean bMavenDependencies)
protected void preExecute(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Properties enviro)
throws org.apache.maven.plugin.MojoExecutionException
preExecute in class AbstractLaunchMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2010–2017 Neticoa SAS. All rights reserved.