Class: Ritsu::SrcFiles::ExecutableCmakeLists

Inherits:
TargetCmakeLists show all
Defined in:
lib/ritsu/src_files/executable_cmake_lists.rb

Defined Under Namespace

Classes: ExecutableTemplate, Template

Instance Attribute Summary

Attributes inherited from TemplatedSrcFile

#block_end_prefix, #block_start_prefix, #template

Attributes inherited from Ritsu::SrcFile

#owner, #src_path

Instance Method Summary collapse

Methods inherited from TargetCmakeLists

#include_in_source_files?

Methods inherited from TemplatedSrcFile

#create, #update_content

Methods inherited from Ritsu::SrcFile

#abs_path, #base_name, #create, find_by_src_path, #include_in_source_files?, is_valid_src_path?, #project, #remove, #update, #update_content, validate_instance

Methods included from Utility

platform

Methods included from Utility::InstanceSet

included, #initialize_instance

Constructor Details

#initialize(target) ⇒ ExecutableCmakeLists

Returns a new instance of ExecutableCmakeLists.



32
33
34
35
36
37
# File 'lib/ritsu/src_files/executable_cmake_lists.rb', line 32

def initialize(target)
  super(target)
  self.template = Template.new(target,
    :block_start_prefix => '##<<',
    :block_end_prefix => '##>>')
end