Sha256: 7d83eacde910a6a578c94e27ad81ae48d9e2d96a8b0e02224e42555290a59aa4
Contents?: true
Size: 531 Bytes
Versions: 4
Compression:
Stored size: 531 Bytes
Contents
module Jeka module Compiler class Gpp < Compiler def initialize(files, options = {}) @files = files @options = options end private def _run_command cmd = './' << @options[:o] end def _build_command cmd = 'g++ ' @files.each do |f| cmd << f << ' ' end @options.each do |opt, value| cmd << '-' << opt.to_s << ' ' << value end return cmd end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jeka-0.2.3 | lib/jeka/compilers/gpp.rb |
jeka-0.2.2 | lib/jeka/compilers/gpp.rb |
jeka-0.2.1 | lib/jeka/compilers/gpp.rb |
jeka-0.2.0 | lib/jeka/compilers/gpp.rb |