Class: CKick::CXXFlag

Inherits:
CompilerFlag show all
Defined in:
lib/ckick/cxxflag.rb

Overview

C++ compiler flag representation

Instance Attribute Summary

Attributes inherited from CompilerFlag

#content

Instance Method Summary collapse

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

#cmakeObject

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