Sha256: 4cfd98bdce22aa181796135f010d8700cb61a60e72e92ebc5809578d80cca557

Contents?: true

Size: 369 Bytes

Versions: 6

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require "mkmf"

submodule = "#{__dir__}/rapidjson"
$CXXFLAGS += " -O3 -I#{submodule}/include/ -Wall "

if ENV["DEBUG"]
$CXXFLAGS += " -Og -g -Wall -Wextra "
end

if ENV["SANITIZE"]
$CXXFLAGS += " -fsanitize=address"
$LDFLAGS += " -fsanitize=address"
end

have_func("rb_enc_interned_str", "ruby.h")

create_makefile("rapidjson/rapidjson")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rapidjson-0.4.0 ext/rapidjson/extconf.rb
rapidjson-0.3.0 ext/rapidjson/extconf.rb
rapidjson-0.2.3 ext/rapidjson/extconf.rb
rapidjson-0.2.2 ext/rapidjson/extconf.rb
rapidjson-0.2.1 ext/rapidjson/extconf.rb
rapidjson-0.2.0 ext/rapidjson/extconf.rb