@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 AbstractLaunchMojo
protected String getProjectDir()
protected String getCommandArgs()
getCommandArgs
in class AbstractLaunchMojo
protected String getExecutable()
getExecutable
in class AbstractLaunchMojo
protected Map getMoreEnvironmentVariables()
getMoreEnvironmentVariables
in class AbstractLaunchMojo
protected List<String> getSuccesCode()
AbstractLaunchMojo
getSuccesCode
in class AbstractLaunchMojo
protected File getWorkingDir()
getWorkingDir
in class AbstractLaunchMojo
public boolean isSkip()
isSkip
in class AbstractLaunchMojo
protected 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 AbstractLaunchMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2010–2017 Neticoa SAS. All rights reserved.