File tree Expand file tree Collapse file tree 2 files changed +1
-27
lines changed
Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change 22
33require "bundler/gem_tasks"
44require "rake/testtask"
5- require "rake/extensiontask"
65require "rubygems/package_task"
76
87GEM_NAME = 'bitmap-plus-plus'
98SO_NAME = 'bitmap_plus_plus'
109
1110gemspec = Gem ::Specification . load ( "#{ GEM_NAME } .gemspec" )
1211
13- # Extension task for compiling the C++ extension
14- Rake ::ExtensionTask . new ( "bitmap_plus_plus" ) do |ext |
15- ext . lib_dir = "lib"
16- end
17-
1812# Rake task to build the default package
1913Gem ::PackageTask . new ( gemspec ) do |pkg |
2014 pkg . need_tar = true
@@ -28,23 +22,3 @@ Rake::TestTask.new(:test) do |t|
2822 t . verbose = true
2923 t . warning = true
3024end
31-
32- # # Make sure extension is compiled before running tests
33- # task test: :compile
34- #
35- # # Default task
36- # task default: %i[compile test]
37- #
38- # # Clean task
39- # CLEAN.include("lib/*.so", "lib/*.dll", "lib/*.bundle")
40- # CLEAN.include("tmp")
41- #
42- # desc "Build the gem"
43- # task :gem do
44- # sh "gem build bitmap-plus-plus.gemspec"
45- # end
46- #
47- # desc "Install the gem locally"
48- # task install: :gem do
49- # sh "gem install bitmap-plus-plus-*.gem"
50- # end
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE .)
3838get_target_property (RUBY_EXT_SUFFIX Ruby::Ruby INTERFACE_RUBY_EXTENSION_SUFFIX)
3939set_target_properties (${CMAKE_PROJECT_NAME} PROPERTIES
4040 PREFIX ""
41- # SUFFIX "${RUBY_EXT_SUFFIX}"
41+ SUFFIX "${RUBY_EXT_SUFFIX} "
4242 OUTPUT_NAME "bitmap_plus_plus_ruby"
4343 CXX_VISIBILITY_PRESET hidden
4444 VISIBILITY_INLINES_HIDDEN ON
You can’t perform that action at this time.
0 commit comments