446fef931f27d09ce745fc486b58e4784db12ca9
tweakers allow the user to modify construction variables before any build is performed
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Description
Rscons is a software construction library inspired by Scons and implemented in Ruby.
4 MiB
0 Stars
1 Watchers
0 Forks
Languages
Ruby
98.6%
C
0.5%
HTML
0.5%
C++
0.2%