Sha256: 4080ba605ba73ade1cce03f92930e511ab8a2b3ca36c5c41a9c073a9da6acf12
Contents?: true
Size: 915 Bytes
Versions: 14
Compression:
Stored size: 915 Bytes
Contents
# Rscons Software construction library inspired by SCons and implemented in Ruby ## Installation Add this line to your application's Gemfile: gem 'rscons' And then execute: $ bundle Or install it yourself as: $ gem install rscons ## Usage RScons::Environment.new do |env| env.Program('program', Dir['*.c']) end main_env = RScons::Environment.new do |env| env.build_dir('src', 'build/main') env.Program('program', Dir['src/**/*.cc']) end debug_env = main_env.clone do |env| env.build_dir('src', 'build/debug') env['CFLAGS'] = ['-g', '-O0'] env.Program('program-debug', Dir['src/**/*.cc']) end ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
14 entries across 14 versions & 1 rubygems