Submit
Path:
~
/
/
usr
/
lib
/
ruby
/
vendor_ruby
/
rubygems
/
ext
/
File Content:
cmake_builder.rb
# frozen_string_literal: true class Gem::Ext::CmakeBuilder < Gem::Ext::Builder def self.build(extension, dest_path, results, args=[], lib_dir=nil, cmake_dir=Dir.pwd) unless File.exist?(File.join(cmake_dir, 'Makefile')) require_relative '../command' cmd = ["cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{dest_path}", *Gem::Command.build_args] run cmd, results, class_name, cmake_dir end make dest_path, results, cmake_dir results end end
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
build_error.rb
178 bytes
0644
builder.rb
5863 bytes
0644
cmake_builder.rb
472 bytes
0644
configure_builder.rb
566 bytes
0644
ext_conf_builder.rb
3389 bytes
0644
rake_builder.rb
943 bytes
0644
N4ST4R_ID | Naxtarrr