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

473 Commits

Author SHA1 Message Date
Dave Abrahams
3aaee2d942 Clarified comments and docs
[SVN r16461]
2002-11-30 00:57:39 +00:00
Dave Abrahams
351888d1fe Clarified comments (I hope)
[SVN r16460]
2002-11-30 00:37:39 +00:00
Vladimir Prus
dbaeb3aa93 Make file-target decide is main target name should be
present in target path, instead of doing this
high in control structure.

* new/targets.jam
    (main-target.generate): Don't bother with setting
       extra path on generated targets.

* new/virtual-target.jam
    (virtual-target.extra-path): Remove.
    (virtual-target.compute-extra-path): New method.
         (subvariant): Document better.


[SVN r16454]
2002-11-28 09:14:41 +00:00
Vladimir Prus
c830f2d90a Better support project requirements with dependency properties
in it. Don't generate all main target into separate subdirectories
in this case.

* new/targets.jam:
    (project-target.reference-properties): New method
    (generate): Moved from basic-target.generate-source
    (generate-dependencies): New rule.

* test/project_dependencies.py: New test.


[SVN r16453]
2002-11-28 08:18:06 +00:00
Vladimir Prus
506e283bd7 Initial support for the borland toolset.
* borland.jam: New file. Does not support dll yet.

* builtin.jam: Use "obj" and "lib" extensions on
    Windows for objects and static libraries, respectively.


[SVN r16441]
2002-11-27 10:18:20 +00:00
Vladimir Prus
731f4ee7f7 Improve 'flags' and the gcc toolset.
* gcc.jam: Extend the 'toolset' feature with gcc here.
    Use flags for linking too and eliminate 'link-options'
    rule. Remove empty compile/archive/link/link-dll rules.

* toolset.jam (flags): Document somehow.
     (set-target-variables): Call 'actualize' on values
     of dependency features.


[SVN r16440]
2002-11-27 09:35:53 +00:00
Vladimir Prus
3a37820a0a Clean ups.
* new/builtin.jam: Made 'toolset' and 'variant'
    features symmentic. Document and fix the 'variant' rule.

* new/virtual-target.jam: Refactoring attempts. Split
   virtual-target into virtual-target and derived from it
   file-target. Eliminate some duplication in setting target
   locations.


[SVN r16437]
2002-11-27 08:37:07 +00:00
Vladimir Prus
174610ed52 Extend tutorial. Correct some typos and obscurities.
[SVN r16436]
2002-11-27 07:50:17 +00:00
Vladimir Prus
b633b31a4f Improve/clarify handling of composing generators during
the transformation search. Don't use global
'.had-composing-generator' variable.

* targets.jam (typed-target.construct): Pass 'allow-composing'
   to 'generators.construct'.

* generators.jam (find-viable-generators): New parameter
     'allow-composing'.
  (construct): Better document the 'allow-composing' parameter.
     Pass that parameter to 'find-viable-generators'.


[SVN r16372]
2002-11-22 15:14:27 +00:00
Vladimir Prus
b36e378294 Fix Debian build.
[SVN r16371]
2002-11-22 15:08:14 +00:00
Rene Rivera
f5f28b058a Small cleanups, and fix the dist target to correctly refer to the binaries.
Add support for building the grammar in Windows, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16368]
2002-11-22 02:09:12 +00:00
Rene Rivera
61ae44e7ff Fix various stupid syntax bugs.. not sure how they got in there :-(
Add support for bootstrapping the gramar, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16367]
2002-11-22 02:07:46 +00:00
Rene Rivera
e9b683240a Pass 2; works with CW8 on Windows, and BCC55 on Windows.
[SVN r16366]
2002-11-21 22:30:55 +00:00
Vladimir Prus
6e1f693904 Remove redundant line.
[SVN r16360]
2002-11-21 12:28:24 +00:00
Vladimir Prus
1f02cb3334 Add dummy actions for 'all', so that jam return 0 exit status. It used
to return 0 before because of a bug, but now that the bug is fixed, we
need to change test.jam.


[SVN r16359]
2002-11-21 12:27:38 +00:00
Rene Rivera
027dcb3faf Use the passed in toolset, added various copyright notices.
[SVN r16357]
2002-11-21 04:54:55 +00:00
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
Vladimir Prus
d58cc867f1 Test for composite properties in target references.
[SVN r16347]
2002-11-20 16:38:53 +00:00
Dave Abrahams
8270fed72e Tests for v1 testing
[SVN r16345]
2002-11-20 15:51:53 +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
329c735229 Example "symlink" targets.
[SVN r16333]
2002-11-20 00:45:24 +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
Vladimir Prus
d9b8b467ed Forgotten change.
[SVN r16248]
2002-11-15 07:15:10 +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
0677fb8001 Beginnings of a tutorial.
[SVN r16232]
2002-11-14 10:10:38 +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