projects
/
ruby-esmart.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't build esmart_filedialog, it's broken.
[ruby-esmart.git]
/
Rakefile
diff --git
a/Rakefile
b/Rakefile
index 4dd7571d9d0d9f2eaf5a6769adbf09d428f51441..b9b41adb5929ba09346a4f22d5888bb37caa5b98 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-11,7
+11,8
@@
require "rake/extensiontask"
PKG_NAME = "ruby-esmart"
modules = [:esmart, :esmart_container, :esmart_draggies,
PKG_NAME = "ruby-esmart"
modules = [:esmart, :esmart_container, :esmart_draggies,
- :esmart_file_dialog,:esmart_trans_x11]
+ #:esmart_file_dialog,
+ :esmart_trans_x11]
module_objects = {
:esmart => [:rb_esmart],
:esmart_container => [:rb_esmart_container],
module_objects = {
:esmart => [:rb_esmart],
:esmart_container => [:rb_esmart_container],
@@
-25,8
+26,9
@@
module_tasks = modules.map { |mod| "ext_#{mod}".to_sym }
task :default => module_tasks
config = Rake::ConfigureTask.new do |t|
task :default => module_tasks
config = Rake::ConfigureTask.new do |t|
- t.tests << Rake::ConfigureTask::
- PkgConfigTest.new("esmart", :is_critical => true)
+ modules[1..-1].each do |mod|
+ t.tests << Rake::ConfigureTask::PkgConfigTest.new(mod.to_s)
+ end
end
module_tasks.each do |mt|
end
module_tasks.each do |mt|
@@
-45,12
+47,14
@@
modules.each_with_index do |mod, i|
end
task :pre_ext => [:configure] do
end
task :pre_ext => [:configure] do
- exts.values.each do |e|
- e.link_libs << config.esmart.libs
+ exts.each do |(key, e)|
+ next if key == :esmart
+
+ e.link_libs << config[key.to_s].libs
cflags = [
e.env[:cflags],
cflags = [
e.env[:cflags],
- config
.esmart
.cflags
+ config
[key.to_s]
.cflags
]
e.env.update(:cflags => cflags)
]
e.env.update(:cflags => cflags)