Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
0cd123a2db Integrate semaphores extension from Craig McPeeters' branch on
public.perforce.com (revisions 1664, 1665).


[SVN r16472]
2002-12-02 12:28:01 +00:00
Vladimir Prus
aff4d03e33 Work on BB5. Mininal version of toolset initialization implemented.
* new/gcc.jam (init): New rule. Allows to specify alternative
    gcc versions.

* new/toolset.jam
    (using): New rule.
    (set-target-variables): Bufgix. I was making indirect call
        via variable with multiple values.

* new/build-request.jam
   (looks-like-implicit-value): New rule.
   (from-command-line): Use the above.
   (convert-command-line-element): Don't validate
      elements with dashes (this probably must be fixed).


[SVN r16468]
2002-12-02 07:20:37 +00:00
Vladimir Prus
a8d2feea84 Work on BB5. Mininal version of toolset initialization implemented.
* new/gcc.jam (init): New rule. Allows to specify alternative
    gcc versions.

* new/toolset.jam
    (using): New rule.
    (set-target-variables): Bufgix. I was making indirect call
        via variable with multiple values.

* new/build-request.jam
   (looks-like-implicit-value): New rule.
   (from-command-line): Use the above.
   (convert-command-line-element): Don't validate
      elements with dashes (this probably must be fixed).


[SVN r16468]
2002-12-02 07:20:37 +00:00
Dave Abrahams
774c509dd0 automatic shared_ptr from_python conversions
[SVN r16467]
2002-12-02 01:37:39 +00:00
Dave Abrahams
075a9eaf97 automatic shared_ptr from_python conversions
[SVN r16467]
2002-12-02 01:37:39 +00:00
Rene Rivera
f3b3314352 Oops, account for spaces in LIB environment var.
[SVN r16463]
2002-12-01 04:29:27 +00:00
Rene Rivera
c9adcf2bf4 Oops, account for spaces in LIB environment var.
[SVN r16463]
2002-12-01 04:29:27 +00:00
Rene Rivera
2848a6e5a5 Use /LIBPATH to "fix" compilation on MSVC. Assumes LIB is set by VCVARS32.BAT correctly.
[SVN r16462]
2002-12-01 04:25:45 +00:00
Rene Rivera
11fba0dbc6 Use /LIBPATH to "fix" compilation on MSVC. Assumes LIB is set by VCVARS32.BAT correctly.
[SVN r16462]
2002-12-01 04:25:45 +00:00
Dave Abrahams
3aaee2d942 Clarified comments and docs
[SVN r16461]
2002-11-30 00:57:39 +00:00
Dave Abrahams
b53f67ae8a 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
Dave Abrahams
93622a347f Clarified comments (I hope)
[SVN r16460]
2002-11-30 00:37:39 +00:00
Dave Abrahams
d8efd7fe47 Progress on embedding example for unix.
[SVN r16458]
2002-11-29 20:23:54 +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
b391e163d6 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
f761d5fee7 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
48a19e3feb 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
0afa3aa911 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
b12a902687 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
34941780dd Extend tutorial. Correct some typos and obscurities.
[SVN r16436]
2002-11-27 07:50:17 +00:00
Markus Schöpflin
d193b82173 More fixes merged from release branch.
[SVN r16421]
2002-11-26 13:46:44 +00:00
Dave Abrahams
363a336b49 Stop neutering customization of GCC_BIN_DIRECTORY
[SVN r16391]
2002-11-24 03:27:53 +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
9ab8b7c858 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
Vladimir Prus
99893a155d 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
8b8eb3341b 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
8692fce737 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
Rene Rivera
1b0d8bcab5 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
32703f6f96 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
Vladimir Prus
25f8824628 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
9e1d8e18b2 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
4766cf30e0 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
9659d427c4 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
Rene Rivera
0ba625d1da Initial pass at a replacement for the 'yyacc' script... in C.
[SVN r16352]
2002-11-20 23:19:02 +00:00