Sha256: e3c2570db43020889f52165517433b06e31cbd46c01aae70cbee25d46b94e4be
Contents?: true
Size: 460 Bytes
Versions: 30
Compression:
Stored size: 460 Bytes
Contents
# 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
Version data entries
30 entries across 30 versions & 2 rubygems