D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
rubygems
/
rubygems
/
ext
/
Filename :
cmake_builder.rb
back
Copy
# frozen_string_literal: true require 'rubygems/command' class Gem::Ext::CmakeBuilder < Gem::Ext::Builder def self.build(extension, directory, dest_path, results, args=[], lib_dir=nil) unless File.exist?('Makefile') then cmd = "cmake . -DCMAKE_INSTALL_PREFIX=#{dest_path}" cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty? run cmd, results end make dest_path, results results end end
Name
Size
Last Modified
Owner
Permissions
Actions
build_error.rb
0.142
KB
April 05 2021 11:46:35
root
0644
builder.rb
5.673
KB
April 05 2021 11:46:35
root
0644
cmake_builder.rb
0.449
KB
April 05 2021 11:46:35
root
0644
configure_builder.rb
0.519
KB
April 05 2021 11:46:35
root
0644
ext_conf_builder.rb
2.92
KB
April 05 2021 11:46:35
root
0644
rake_builder.rb
0.958
KB
April 05 2021 11:46:35
root
0644
2017 © D7net | D704T team