Class: CKick::LibraryPath
Overview
Represents a library link path (in respect to compiler -L option and CMake link_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/library_path.rb', line 18 def cmake "link_directories(#{@path})" end |
#raw_flag ⇒ Object
compiler flag as is
13 14 15 |
# File 'lib/ckick/library_path.rb', line 13 def raw_flag "-L#{@path}" end |