Top Level Namespace
Defined Under Namespace
Modules: PDFShaver
Constant Summary collapse
- LIB_DIRS =
append_search_paths_to lib_dirs, ['third_party']
- HEADER_DIRS =
append_search_paths_to header_dirs, header_paths
- LIB_FILES =
lib order needs to be in dependency loaded order, or will not link properly. this is a nested list of basic alternatives.
[ ['javascript'], ['bigint'], ['fx_freetype'], ['fx_agg'], ['fx_lcms2'], ['fx_libjpeg', 'jpeg'], ['fx_libopenjpeg'], ['fx_zlib'], ['fxedit'], ['fxcrt'], ['fxcodec'], ['fxge'], ['fpdfdoc'], ['fpdftext'], ['formfiller'], ['pdfwindow'], ['fpdfdoc'], ['fdrm'], ['fpdfapi'], ['pdfium'], ['pthread'], ['freeimage'] ]
- FRAMEWORKS =
%w{AppKit CoreFoundation}
Instance Method Summary collapse
-
#append_search_paths_to(search_dirs, search_suffixes) ⇒ Object
Take a set of directories to search (usually system paths) and append the paths that we expect to find PDFium’s peices.
Instance Method Details
#append_search_paths_to(search_dirs, search_suffixes) ⇒ Object
Take a set of directories to search (usually system paths) and append the paths that we expect to find PDFium’s peices.
6 7 8 9 10 |
# File 'ext/pdfium_ruby/extconf.rb', line 6 def append_search_paths_to search_dirs, search_suffixes search_dirs.map do |dir| search_suffixes.map{ |path| File.join(dir, path) } end.flatten + search_dirs end |