Class CMakeFileContent
java.lang.Object
io.github.tomaki19.gradle.cmake.files.CMakeFileContent
- Direct Known Subclasses:
CMakeListsFile,CMakeModuleFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.gradle.api.file.DirectoryPropertygetName()protected org.gradle.api.file.Directoryprotected Stringprotected voidprocessTemplate(String templateName, Map<String, Object> model, FileOutputStream outputStream) abstract voidwriteTo(FileOutputStream outputStream)
-
Constructor Details
-
CMakeFileContent
-
-
Method Details
-
getName
-
getProjectName
-
getProjectDirectory
protected org.gradle.api.file.Directory getProjectDirectory() -
getBuildDirectoryProperty
protected org.gradle.api.file.DirectoryProperty getBuildDirectoryProperty() -
writeTo
- Throws:
IOException
-
processTemplate
protected void processTemplate(String templateName, Map<String, Object> model, FileOutputStream outputStream) throws IOException- Throws:
IOException
-