Sha256: 443d2ad64a25b9db1ed268512d122fe5d18dc4229f485c30e672b224566423ae
Contents?: true
Size: 931 Bytes
Versions: 4
Compression:
Stored size: 931 Bytes
Contents
require 'tools/freebasic' # ServiceFB namespace (lib) namespace :lib do lib_options = { :debug => false, :profile => false, :errorchecking => :ex, :mt => true, :pedantic => true } lib_options[:debug] = true if ENV['DEBUG'] lib_options[:profile] = true if ENV['PROFILE'] lib_options[:errorchecking] = :exx if ENV['EXX'] lib_options[:pedantic] = false if ENV['NOPEDANTIC'] project_task 'servicefb' do lib 'ServiceFB' build_to 'builds' define 'SERVICEFB_DEBUG_LOG' if ENV['LOG'] source 'src/ServiceFB/ServiceFB.bas' option lib_options end project_task 'servicefb_utils' do lib 'ServiceFB_Utils' build_to 'builds' define 'SERVICEFB_DEBUG_LOG' if ENV['LOG'] source 'src/ServiceFB/ServiceFB_Utils.bas' option lib_options end end task :native_lib => ["lib:build"] task :clean => ["lib:clobber"]
Version data entries
4 entries across 4 versions & 1 rubygems