mkvtoolnix/rake.d/application.rb
Moritz Bunkus 7e600c7e70 build system: centralize runq output
That way adjusting to a uniform width is easier.
2016-03-26 12:34:52 +01:00

19 lines
466 B
Ruby

class Application < Target
def initialize(exe)
super exe + c(:EXEEXT)
@namespace = :apps
end
def create_specific
libraries :rpcrt4, :if => c?(:MINGW)
namespace :apps do
desc @desc if @aliases.empty? && !@desc.empty?
file @target => @dependencies do |t|
runq "link", t.name, "#{c(:CXX)} #{$flags[:ldflags]} #{$system_libdirs} -o #{t.name} #{@objects.join(" ")} #{@libraries.join(" ")}"
end
end
self
end
end