PHP 8.2.31
Preview: cmake_builder.rb Size: 380 B
//proc/thread-self/root/opt/alt/ruby20/lib64/ruby/2.0.0/rubygems/ext/cmake_builder.rb

class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
  def self.build(extension, directory, dest_path, results)
    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

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.75 KB lrw-r--r-- 2013-07-25 15:42:22
Edit Download
380 B lrw-r--r-- 2012-12-10 00:42:11
Edit Download
520 B lrw-r--r-- 2012-11-29 06:52:18
Edit Download
1.65 KB lrw-r--r-- 2013-07-25 15:42:22
Edit Download
996 B lrw-r--r-- 2012-11-29 06:52:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).