2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00
Commit Graph

326 Commits

Author SHA1 Message Date
Rene Rivera
c4e4d22cdd Slight cleanup, use of the yyacc.c program to build the grammar, and pass along the toolset to the RPM package build.
[SVN r16356]
2002-11-21 04:53:30 +00:00
Rene Rivera
6a056d4506 Slight cleanup, and use of the yyacc.c program to bootstrap the grammar.
[SVN r16355]
2002-11-21 00:31:25 +00:00
Rene Rivera
67515d8895 Initial pass at a replacement for the 'yyacc' script... in C.
[SVN r16352]
2002-11-20 23:19:02 +00:00
Dave Abrahams
4f0463b278 Bug fix from Zak Kipling <zak.kipling@cantab.net>
If you execute jam with no explicit target specified, it exits with
"EXITOK" regardless of whether the build actually succeeds...


[SVN r16336]
2002-11-20 01:37:56 +00:00
Rene Rivera
c7d04e52c6 "symlink" targets.
[SVN r16332]
2002-11-20 00:44:43 +00:00
Vladimir Prus
d7c96aa1bc Fix properties in target references.
* new/targets.jam (basic-target.generate-source): Expand composite in
    properties, specified in target references.


[SVN r16320]
2002-11-19 15:29:27 +00:00
Rene Rivera
b95133de74 Fix a confusion about what the "::" following, or not, whitespace was handled.
[SVN r16316]
2002-11-19 06:27:22 +00:00
Rene Rivera
1e9df8513e Copy in the "Jam Fundamentals" section, with some cleanup/reformatting.
[SVN r16274]
2002-11-16 05:35:05 +00:00
Rene Rivera
318a1b3fb2 Describe the rest of the accepted toolsets.
[SVN r16265]
2002-11-15 21:19:17 +00:00
Rene Rivera
fb80cb389e Copied "Core Jam Extensions" from build_system.html. Seems like it belongs here and build_system.html will be outdated in V2.
[SVN r16261]
2002-11-15 18:48:37 +00:00
Vladimir Prus
2876af73e4 More comments.
[SVN r16250]
2002-11-15 08:09:45 +00:00
Vladimir Prus
5c18848ccd Cleanup main target alternative creationg.
* new/targets.jam
    (abstract-target.name): New method.
    (abstract-target.project): New method.
    (main-target-alternative): Simplify. Only register
       main target alternative. Don't to fancy processing
       of arguments.
    (main-target-requirements): New rule.
    (main-target-use-requirements): New rule.
    (main-target-default-build): New rule.


[SVN r16249]
2002-11-15 07:20:23 +00:00
Rene Rivera
46a4da5d69 Accept most toolsets.
[SVN r16247]
2002-11-15 05:57:19 +00:00
Rene Rivera
88f4a01a64 Some extra whitespace formatting fixes.
[SVN r16246]
2002-11-15 05:13:59 +00:00
Rene Rivera
4e0271c1f4 Added utility "words" rules to split a string into words.
[SVN r16245]
2002-11-15 05:12:25 +00:00
Rene Rivera
812d5d9f94 Implement ReST type preformatted syntax using "::".
* class.jam; Use new "::" syntax.
* doc.jam; Change comment parsing to keep leading whitespaces.
* doc.jam; Fix problem when a rule's argument has the same name as an inner rule.
* print.jam; Implement ReST syntax of "::" to indicate preformatted text. All forms of the ReST syntax are supported, and the additional form of a preformated paragraph with the first line as "::".


[SVN r16244]
2002-11-15 01:16:50 +00:00
Dave Abrahams
bd82dd2c42 Fix Cygwin PYD extension
[SVN r16237]
2002-11-14 14:50:23 +00:00
Vladimir Prus
a89fb0b1a6 Handling for base type generators fixes.
* new/generators.jam
     (find-viable-generators): Reverted my revert. Not yet sure
         what's the best way, but this one can be made to work.
     (try-one-generators): Adjust the virtual target types in
         case generator for base type was used.

* new/virtual-target.jam (virtual-target.set-type): New method.


[SVN r16234]
2002-11-14 10:43:47 +00:00
Vladimir Prus
b6d69f0b88 Revive all the tests.
* boost_build_v2.html: Document new option.

* new/generators.jam (find-viable-generators): Revert part of Dave's
   commit, essentially disabling finding base type generators.
   This part breaks a test, and need to be thinked about.

* new/errors.jam: Handle "--no-error-backtrace" option.

* test/project_test4.py: Adjust for new error syntax.


[SVN r16233]
2002-11-14 10:17:50 +00:00
Vladimir Prus
296276a550 Fix rule echoing.
* jam_src/make1.c (make1c): Output don't output nonqueit when neither
     DEBUG_MAKE nor DEBUG_MAKEQ is set.

   * test/code_d1d2.py: New test.


[SVN r16231]
2002-11-14 07:11:16 +00:00
Rene Rivera
3b7423235b More cleanup...
* build.bat; accept all toolsets.
*build.bat; set toolset root when known.
* build.jam; accept --toolset-root=* for setting where the toolset lives.
* build.jam; don't clean grammar intermediates.


[SVN r16220]
2002-11-13 07:05:52 +00:00
Dave Abrahams
28e1f02330 Attempt to handle derived target types
[SVN r16213]
2002-11-12 14:37:43 +00:00
Vladimir Prus
d77c0d9c33 Fix a typo.
[SVN r16212]
2002-11-12 14:33:33 +00:00
Vladimir Prus
f1defc7e8e Win32 fixes.
* new/property.jam (translate-paths): Use :T modifier to prevent slash
  direction changing.

* new/common.jam: Use RM variable instead to calling "rm" command.


[SVN r16210]
2002-11-12 07:47:05 +00:00
Rene Rivera
a9eb468191 Minimal new documentation for B-Jam.
[SVN r16209]
2002-11-12 07:35:21 +00:00
Dave Abrahams
569fac161e Better error reporting
[SVN r16208]
2002-11-12 03:29:21 +00:00
Dave Abrahams
aa3e9c9ba5 Better debuggability
[SVN r16206]
2002-11-12 03:15:08 +00:00
Rene Rivera
ef4485356f SH compatible function declaration syntax.
[SVN r16203]
2002-11-12 00:08:25 +00:00
Dave Abrahams
82e6654f3a Really fix broken debug output.
[SVN r16202]
2002-11-11 23:32:42 +00:00
Dave Abrahams
194f47cd93 Help for Cygwin
[SVN r16201]
2002-11-11 23:31:03 +00:00
Dave Abrahams
5905e7847b better debug formatting, better (?) help output
[SVN r16200]
2002-11-11 22:53:50 +00:00
Vladimir Prus
540807fdab Mimimal support for the 'flags' rule.
* new/toolset.jam: New file.

* new/virtual-target.jam (action.actualize):
    Call 'toolset.set-target-variables'.

* new/gcc.jam: Use flags for compiling.


[SVN r16189]
2002-11-10 15:41:53 +00:00
Rene Rivera
1784c332f8 Cleanup, to match build.sh structure and order.
Added detection of commands in PATH.
Added passthrough of extra args down to build.jam.


[SVN r16158]
2002-11-08 07:07:34 +00:00
Rene Rivera
dee7956725 Better error messages.
More generic boost-jam.spec.
Addition of "--debug" option for building debug-profile versions of binaries.
More optimization flags for toolsets.
Prefer yacc instead of bison.
Bootstrap the yacc grammar in build.sh not just the grammar source.
buils.sh now also supports pass-thru arguments.
Simpler+faster checking for executables in PATH, buils.sh.
Use of "--toolset=<name>" instead of longer variable.


[SVN r16140]
2002-11-07 07:46:55 +00:00
Vladimir Prus
a29c4d3b6c Bugfixes.
* new/targets.jam (project-target.generate): Treat names of
        other projects to build relatively to this project.
      (basic-target.generate): Generate dependency use-requirements.


[SVN r16130]
2002-11-06 11:41:59 +00:00
Vladimir Prus
75230dc75a First implementation of "stage" and "prebuilt" rule.
* new/common.jam (copy): New rule.

* new/targets.jam (main-target.generate): Use a different
   algorith for selecting subvariant. Favour one with
   the longest intersection of requirements with build
   properties.

* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose. New methods 'set-path' and 'extra-grist'.


[SVN r16129]
2002-11-06 10:26:11 +00:00
Vladimir Prus
23f0acca9e Make some refactoring.
* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose.

* new/testing.jam: Induced changes.
* new/make.jam: Induced changes.
* new/generators.jam: Induced changes.


[SVN r16128]
2002-11-06 08:13:40 +00:00
Dave Abrahams
24454ec418 Fix broken debug output.
[SVN r16120]
2002-11-05 18:40:26 +00:00
Dave Abrahams
76983f43b7 turn trailing "\r\n" sequences into plain "\n" in action blocks, so
for example we can process DOS-mode Jamfiles with a Cygwin-built bjam.


[SVN r16106]
2002-11-04 21:54:23 +00:00
Rene Rivera
328161d973 Tested on MacOSX darwin toolset... working.
[SVN r16105]
2002-11-04 21:48:41 +00:00
Rene Rivera
0c0a145311 Fix typos and account for command limits. CodeWarrior and Borland tested on Win2K.
[SVN r16101]
2002-11-04 18:18:11 +00:00
Vladimir Prus
cb2fbe6d56 Added <library-file> and <cxxflags> features.
[SVN r16098]
2002-11-04 17:33:16 +00:00
Vladimir Prus
472f3005c9 Make the 'make' rule work with locally declared generating rules.
[SVN r16097]
2002-11-04 17:28:46 +00:00
Vladimir Prus
aae2ef0246 Tweak path-constant handling.
* new/path.jam (make-UNIX, make-NT): Call 'path.join' on elements,
        so that paths are normilazed.
      (join): Allow one element to be passed.
    * new/project-root.jam: Use 'path.root' when declaring path constants.


[SVN r16096]
2002-11-04 17:27:42 +00:00
Vladimir Prus
2adc4a8664 Made 'include' adjustment for generated headers work when other
targets are specified as sources, not only as dependency properties.

    * new/virtual-target.jam (subvariant-dg): Note which sources
    are roots of dependency grapgs and record those graphs.


[SVN r16095]
2002-11-04 17:24:41 +00:00
Rene Rivera
e82a103652 New scripts for easier building of bjam executable.
build.bat: Windows NT BATCH bootstrap script.
build.sh: Unix shell bootstrap script.
build.jam: b/jam standalone Jamfile for building and distribution creation.
boost-jam.spec: modifications to conform to RedHat names/versioning and using new ./build.sh.


[SVN r16085]
2002-11-04 06:31:01 +00:00
Rene Rivera
fc3c2cfa85 print.jam; support use of "::" as prefix in paragraphs/blocks to output preformatted text.
class.jam; add use of "::" for code samples.


[SVN r16019]
2002-10-30 04:00:42 +00:00
Rene Rivera
f23516f586 Fix class scan to recognize class.class not just class.
Sort some of the output for consistency.


[SVN r16018]
2002-10-30 03:58:12 +00:00
Rene Rivera
846bad9952 Implement recognition and output of classes and their rules.
[SVN r16003]
2002-10-28 07:59:46 +00:00
Rene Rivera
079aa41579 Wrap section headers. As some rule templates are long.
[SVN r16002]
2002-10-28 07:58:49 +00:00