38 Commits

Author SHA1 Message Date
1b50a9dd3c add Rscons::BuildTarget
Return a BuildTarget object from Environment#method_missing when a build target is registered.
2014-06-12 13:31:17 -04:00
87b25d7bfd add PROGSUFFIX construction variable and default it to ".exe" for mingw/cygwin platforms 2014-06-12 13:02:53 -04:00
eb9aa476b7 update default construction variables to match SCons a little more closely 2014-06-11 16:54:32 -04:00
08f2248ed7 fix up builders to properly use variable overrides 2014-05-14 15:15:08 -04:00
d424facf7f Add Preprocess and Disassemble builders 2014-04-15 15:21:55 -04:00
533ee9c16c add CFile builder to create C/C++ sources from lex/yacc input files 2014-03-18 21:57:53 -04:00
2dde39a0ec standardize on "Rscons" capitalization 2014-02-18 16:14:44 -05:00
98f8f38715 remove String#set_suffix monkey patch 2014-02-14 10:36:15 -05:00
fa7d17675b remove String#has_suffix? monkey-patch; use String#end_with? 2014-02-14 10:20:32 -05:00
5362f761e6 move default builder classes into Rscons::Builders namespace module 2013-12-31 13:31:17 -05:00
f8af0630b0 pass env to Cache#up_to_date?() and #register_build() instead of user_deps 2013-12-31 12:46:30 -05:00
7330e74ab8 modify Cache to store user-specified extra dependencies 2013-12-27 14:20:32 -05:00
a28cef9eb7 change "vars" parameters to be required 2013-12-27 13:53:40 -05:00
d0bbc78751 Program: do not continue executing builder if building a source fails 2013-11-13 23:52:15 -05:00
20f509ec27 rename *COM construction variables to *CMD 2013-11-06 13:35:41 -05:00
66f53a23f6 change construction variable reference format to ${var}
this change is backwards-incompatible
2013-11-05 16:54:01 -05:00
71344b4782 Program: do not check env.build_sources() return value (it will raise an exception if something was wrong) 2013-11-05 15:41:47 -05:00
b1cdd3d1db Object: simplify handling of known suffixes 2013-11-05 15:25:10 -05:00
1280cfb465 change Environment#parse_makefile_deps() to a class method 2013-11-05 11:44:07 -05:00
c23bb8c5e0 add support for building D sources (defaulting to gdc) 2013-10-29 16:17:51 -04:00
5c6239ea6d Rscons.clean() removes any directories it created if they are empty 2013-09-18 21:17:42 -04:00
986b8f08cc prepend builder-temporary construction variables with "_"; reserve lowercase string variables for user 2013-09-16 22:30:16 -04:00
f13664331f create requisite output directories for build targets; refactor common buile functionality into Builder#standard_build() 2013-09-15 15:27:16 -04:00
64d15602cc add Library default builder 2013-09-12 23:35:34 -04:00
837dff9374 pass extra construction variables to Builder#run() 2013-09-12 22:57:22 -04:00
75f2418570 refactor some Program functionality into Environment#build_sources() 2013-09-12 22:38:52 -04:00
0db5614555 rename LIBPATHS default construction variable to LIBPATH 2013-08-05 14:34:59 -04:00
8d4be1b51a add/update YARD documentation 2013-08-04 15:39:01 -04:00
6fa4a8556a support compiling C++ objects with Object builder 2013-08-03 14:47:41 -04:00
136ad0f29a default AS construction variable to $CC 2013-07-17 20:48:18 -04:00
2f2de3b709 rename CC builder to Object
begin supporting compiling things other than C
2013-07-17 19:37:14 -04:00
c9f6bdb2e2 pass environment to builder functions instead of as an initialization parameter 2013-07-15 21:41:33 -04:00
2cb584312e add build test using a build directory 2013-07-15 19:14:52 -04:00
5eb914fb76 add default CPPPATH construction variable to CC builder 2013-07-15 19:07:59 -04:00
0bf71ae4d1 implement Cache to store info about target dependencies and checksums across invocations 2013-07-14 21:51:31 -04:00
760f698963 fill in CC, Program, Environment.process() to get simple builds working 2013-07-07 17:17:46 -04:00
12d94997dc Begin on Program builder
monkey-patch String class for suffix checking/changing methods
2013-06-30 20:09:43 -04:00
3ba3111a45 add functionality to add builders to an Environment 2013-06-30 19:26:09 -04:00