class MxxRu::Cpp::CppSourceFile

Class, describing one C/C++ source file.

Attributes

compiler_options[R]

Compiler options list for that file.

depends[R]

A list of files, given file is depentent from.

name[R]

File name (string).

Public Class Methods

new( file_name, a_compiler_options ) click to toggle source
# File lib/mxx_ru/cpp/source_file.rb, line 41
def initialize( file_name, a_compiler_options )
  @name = file_name
  if a_compiler_options
    @compiler_options = a_compiler_options.clone
  else
    @compiler_options = Array.new
  end
  @depends = Array.new
end