Sha256: ab7c0f6a032b21f940cb4abb3e6f32ed39c6b1cc4fca3aacc6f6ccd3301f3ea9

Contents?: true

Size: 983 Bytes

Versions: 7

Compression:

Stored size: 983 Bytes

Contents

require_relative '../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

7 entries across 7 versions & 1 rubygems

Version Path
thin_service-0.0.7 tasks/native_lib.rake
thin_service-0.0.6 tasks/native_lib.rake
thin_service-0.0.5 tasks/native_lib.rake
thin_service-0.0.4 tasks/native_lib.rake
thin_service-0.0.3 tasks/native_lib.rake
thin_service-0.0.2 tasks/native_lib.rake
thin_service-0.0.1 tasks/native_lib.rake