Top Level Namespace
Defined Under Namespace
Modules: ActiveRecord, Intersys
Constant Summary
collapse
- WIN32 =
RUBY_PLATFORM.match(/mswin/)
- MACOS =
RUBY_PLATFORM.match(/darwin/)
Instance Method Summary
collapse
Instance Method Details
#include_flags ⇒ Object
34
35
36
|
# File 'lib/extconf.rb', line 34
def include_flags
" "+(include_locations.map { |place| "-I"+place} + ["-Wall"]).join(" ")
end
|
#include_locations ⇒ Object
25
26
27
|
# File 'lib/extconf.rb', line 25
def include_locations
locations("/dev/cpp/include") + ["./sql_include"]
end
|
#library_locations ⇒ Object
29
30
31
|
# File 'lib/extconf.rb', line 29
def library_locations
locations("/dev/cpp/lib")
end
|
#link_flags ⇒ Object
48
49
50
|
# File 'lib/extconf.rb', line 48
def link_flags
" "+(library_locations.map { |place| WIN32 ? "-libpath:\"#{place}\"" : ("-L"+place)} + ["-Wall"]).join(" ")
end
|
#locations(suffix) ⇒ Object
20
21
22
23
|
# File 'lib/extconf.rb', line 20
def locations(suffix)
@cache_placements.map {|place| place + suffix }
end
|