Class: CKick::CFlag
- Inherits:
-
CompilerFlag
- Object
- CompilerFlag
- CKick::CFlag
- Defined in:
- lib/ckick/cflag.rb
Overview
C compiler flag representation
Instance Attribute Summary
Attributes inherited from CompilerFlag
Instance Method Summary collapse
-
#cmake ⇒ Object
appends $CMAKE_C_FLAGS (CMake C compiler flags).
Methods inherited from CompilerFlag
#eql?, #hash, #initialize, #raw_flag, #to_hash_element, #to_s
Constructor Details
This class inherits a constructor from CKick::CompilerFlag
Instance Method Details
#cmake ⇒ Object
appends $CMAKE_C_FLAGS (CMake C compiler flags)
13 14 15 |
# File 'lib/ckick/cflag.rb', line 13 def cmake %Q|set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} #{@content}")| end |