Class: CKick::CXXFlag
- Inherits:
-
CompilerFlag
- Object
- CompilerFlag
- CKick::CXXFlag
- Defined in:
- lib/ckick/cxxflag.rb
Overview
C++ compiler flag representation
Instance Attribute Summary
Attributes inherited from CompilerFlag
Instance Method Summary collapse
-
#cmake ⇒ Object
appends $CMAKE_CXX_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_CXX_FLAGS (CMake C++ compiler flags)
13 14 15 |
# File 'lib/ckick/cxxflag.rb', line 13 def cmake %Q|set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} #{@content}")| end |