Module: Cxxproject::SingleSourceModule

Included in:
SingleSource
Defined in:
lib/cxxproject/buildingblocks/single_source.rb

Instance Method Summary collapse

Instance Method Details

#convert_to_rakeObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/cxxproject/buildingblocks/single_source.rb', line 11

def convert_to_rake()
  objects_multitask = prepare_tasks_for_objects()

  if objects_multitask
    namespace "compile" do
      desc "compile sources in #{@name}-configuration"
      task @name => objects_multitask
    end
    objects_multitask.add_description("compile sources only")
  end

  setup_rake_dependencies(objects_multitask)
  objects_multitask
end

#get_task_nameObject



7
8
9
# File 'lib/cxxproject/buildingblocks/single_source.rb', line 7

def get_task_name()
  get_sources_task_name
end