Class CMakeFileContent

java.lang.Object
io.github.tomaki19.gradle.cmake.files.CMakeFileContent
Direct Known Subclasses:
CMakeListsFile, CMakeModuleFile

public abstract class CMakeFileContent extends Object
  • Constructor Details

    • CMakeFileContent

      public CMakeFileContent(String name, org.gradle.api.Project project)
  • Method Details

    • getName

      public String getName()
    • getProjectName

      protected String getProjectName()
    • getProjectDirectory

      protected org.gradle.api.file.Directory getProjectDirectory()
    • getBuildDirectoryProperty

      protected org.gradle.api.file.DirectoryProperty getBuildDirectoryProperty()
    • writeTo

      public abstract void writeTo(FileOutputStream outputStream) throws IOException
      Throws:
      IOException
    • processTemplate

      protected void processTemplate(String templateName, Map<String,Object> model, FileOutputStream outputStream) throws IOException
      Throws:
      IOException