mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
7e600c7e70
That way adjusting to a uniform width is easier.
19 lines
466 B
Ruby
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
|