module Ryb::VisualStudio::Linker
Constants
- STANDARD_FLAGS
Public Class Methods
architecture_to_flags(architecture)
click to toggle source
# File lib/ryb/visual_studio.rb, line 95 def self.architecture_to_flags(architecture) case architecture when :x86 %w{/machine:X86} when :x86_64 %w{/machine:X64} end end
generate_debug_symbols_to_flag(enabled)
click to toggle source
# File lib/ryb/visual_studio.rb, line 91 def self.generate_debug_symbols_to_flag(enabled) enabled ? %w{/DEBUG} : %w{} end
library_paths_to_flags(paths)
click to toggle source
# File lib/ryb/visual_studio.rb, line 87 def self.library_paths_to_flags(paths) [*paths].map{|path| "/LIBPATH:\"#{path}\""} end