Class Cmake
- java.lang.Object
-
- com.android.build.gradle.external.cmake.Cmake
-
public class Cmake extends java.lang.ObjectCmake functionality bound to a particular Cmake install path.
-
-
Constructor Summary
Constructors Constructor Description Cmake(java.io.File cmakeInstallPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>environment()Get the environment that Cmake will be (or already was) started with.com.android.repository.RevisiongetVersion()Returns the Cmake version string as a structure.
-
-
-
Method Detail
-
environment
public java.util.Map<java.lang.String,java.lang.String> environment()
Get the environment that Cmake will be (or already was) started with. If the process hasn't been started yet the changes here will end up in the environment of the spawned process.
-
getVersion
public com.android.repository.Revision getVersion() throws java.io.IOExceptionReturns the Cmake version string as a structure.- Returns:
- Revision for the current Cmake.
- Throws:
java.io.IOException- I/O failure
-
-