Class: CKick::IncludePath
Overview
Represents a compiler include path (-I option or CMake include_directories() fonction)
Instance Attribute Summary
Attributes inherited from Path
Instance Method Summary collapse
-
#cmake ⇒ Object
cmake code content.
-
#raw_flag ⇒ Object
compiler flag as is.
Methods inherited from Path
#initialize, #to_hash_element, #to_s
Constructor Details
This class inherits a constructor from CKick::Path
Instance Method Details
#cmake ⇒ Object
cmake code content
18 19 20 |
# File 'lib/ckick/include_path.rb', line 18 def cmake %Q{include_directories(#{@path})} end |
#raw_flag ⇒ Object
compiler flag as is
13 14 15 |
# File 'lib/ckick/include_path.rb', line 13 def raw_flag "-I#{@path}" end |