mkvtoolnix/rake.d/application.rb

14 lines
378 B
Ruby
Raw Normal View History

class Application < Target
def initialize(exe)
super exe + c(:EXEEXT)
end
def create_specific
2010-07-26 10:56:42 +00:00
desc @desc if @aliases.empty? && !@desc.empty?
file @target => @dependencies do |t|
runq " LINK #{t.name}", "#{c(:CXX)} #{c(:LDFLAGS)} #{c(:LIBDIRS)} #{$system_libdirs} -o #{t.name} #{@objects.join(" ")} #{@libraries.join(" ")}"
end
self
end
end