Class: CKick::IncludePath

Inherits:
Path
  • Object
show all
Defined in:
lib/ckick/include_path.rb

Instance Attribute Summary

Attributes inherited from Path

#path

Instance Method Summary collapse

Methods inherited from Path

#initialize, #to_hash_element, #to_s

Constructor Details

This class inherits a constructor from CKick::Path

Instance Method Details

#cmakeObject



14
15
16
# File 'lib/ckick/include_path.rb', line 14

def cmake
  %Q{include_directories(#{@path})}
end

#raw_flagObject



10
11
12
# File 'lib/ckick/include_path.rb', line 10

def raw_flag
  "-I#{@path}"
end