Class | TTK::Strategies::Compile |
In: |
lib/ttk/strategies/Compile.rb
|
Parent: | Proxy |
# File lib/ttk/strategies/Compile.rb, line 15 def mk_command # Build compiling command command = '' unless @source_dir.nil? @source_dir = Pathname.new(@source_dir) @source.map! { |file| @source_dir + file } end command << @compiler << ' ' << @flags @include.each do |dir| command << ' -I ' << dir end command << ' ' << @source.join(' ') command << ' -o ' << @bin end