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

2124 Commits

Author SHA1 Message Date
Dave Abrahams
2883eb386b bug fix
[SVN r16799]
2003-01-08 19:38:27 +00:00
Dave Abrahams
9aa834caaa added missing validate-property-sets
[SVN r16798]
2003-01-08 18:16:32 +00:00
Vladimir Prus
1b2bd2b4f3 Fix some syntax errors.
[SVN r16794]
2003-01-08 13:20:46 +00:00
Vladimir Prus
77817cb920 Making more tests work on windows.
* new/builtin.jam: The lib suffix in not "obj", even on windows.

* test/BoostBuild.py: (lib_suffix): New variable.
* test/generators_test.py: Use lib_suffix.


[SVN r16793]
2003-01-08 13:05:30 +00:00
Dave Abrahams
35bbcdbeb4 Take care of most of BB4
[SVN r16778]
2003-01-07 00:18:22 +00:00
Rene Rivera
3411092edc Brought back compatability of command line specified targets to update.
Modified UPDATE builtin to: 1. clear the update list, 2. set the update list to the given targets, 3. return the previous update list.


[SVN r16764]
2003-01-05 19:11:07 +00:00
Dave Abrahams
f2681b8bca fix typo
[SVN r16757]
2003-01-05 18:24:56 +00:00
Dave Abrahams
1efbe1bea6 Make local rules local
[SVN r16756]
2003-01-05 18:24:21 +00:00
Vladimir Prus
2d57d47b45 Work on BB14: allow target suffixes to depend
on build properties.

* new/builtin.jam
    Introduce "os" feature.

* new/gcc.jam
    Make object suffix "o" on all platforms.

* new/property.jam
    (property-map): New class.

* new/type.jam
    (.suffixes): Global propety-map instance, to
	keep properties->suffix mapping.
    (set-generated-target-suffix): New rule
    (generated-target-suffix): New argument
	'properties'.

* new/virtual-target.jam
    (abstract-file-target.actual-name): Pass
	properties to type.generated-target-suffix.

* test/project_test4.py
    Don't specify expected list of build properties,
    since it's not stable. Check head of error message
    only.


[SVN r16700]
2002-12-25 07:18:34 +00:00
Vladimir Prus
6e59776aff Fix a typo.
[SVN r16663]
2002-12-19 14:37:07 +00:00
Dave Abrahams
f671dbd6b3 fix for multiple simultaneous Jam sessions, to avoid overwriting
temporary .bat files, courtesy of "Anichini, Steve"
<Sanichini@midwaygames.com>


[SVN r16658]
2002-12-18 21:35:09 +00:00
Dave Abrahams
c9a1f605f0 Bug fix
[SVN r16637]
2002-12-17 14:15:07 +00:00
Vladimir Prus
537f846b15 Add a new test, which fails and is therefore commented out.
[SVN r16631]
2002-12-17 08:21:19 +00:00
Vladimir Prus
9605d9d16e Another bugfix for dependency properties in use requirements.
* new/targets.jam
    (generate-dependencies): New argument 'extra-properties.
        Add it to properties used for building dependencies.
    (basic-target.generate): Use the above change.


[SVN r16611]
2002-12-15 10:14:11 +00:00
Vladimir Prus
2fd72ada56 Bugfix.
* new/builtin.jam: When hardcoding dll paths, check for
     <library> properties too, no only for sources of
     LIB type.


[SVN r16609]
2002-12-15 08:07:12 +00:00
Dave Abrahams
936a285e30 Allow dashes in feature values
[SVN r16597]
2002-12-12 19:29:39 +00:00
Vladimir Prus
022ef577da Implement BB7: now there's "build-dir" project
attribute which controls where generated targets are put,
much in the same was as ALL_LOCATE_TARGET.

* new/virtual-target.jam
    (virtual-target.path): Respect build dir.
    (virtual-target.actualize-location): Don't
       compute path, but call call instead.

* new/project.jam
    (initialize): Set default value for 'build-dir'.
    (project-attributes.set): Handle 'build-dir'.

* new/path.jam
    (relative): New rule.

* test/build_dir.py: New test.


[SVN r16589]
2002-12-11 19:01:50 +00:00
Vladimir Prus
cfe61e5caa Introduce the <dll-path> and <hardcode-dll-paths> features.
* gcc.jam: Handle the <dll-path> feature.

* builtin.jam
    New features <dll-path> and <hardcode-dll-paths>.
    (link-action.adjust-properties): Add library's
    full paths to <dll-path> when <hardcode-dll-paths>
    is specified.


[SVN r16588]
2002-12-11 17:40:48 +00:00
Vladimir Prus
9328322608 Added <linkflags>
[SVN r16582]
2002-12-10 09:03:19 +00:00
Vladimir Prus
8905002026 Bugfix: dependency features in use requirements were mishandled.
* new/targets.jam
    (basic-target.generate): Use 'generate-dependencies'
    for use requirements on this target.

* test/use_requirements.py: More tests.


[SVN r16580]
2002-12-10 07:48:56 +00:00
Vladimir Prus
043e67d51f Bugfix: path features in target requirement were
not translated.

* test/path_features.py: Fix a bug in test.

* new/targets.jam
    (main-target-requirements): Bugfix.


[SVN r16579]
2002-12-10 07:15:33 +00:00
Vladimir Prus
2c841baa2d Replace the "prebuilt" rule with <file> feature.
* new/generators.jam
    (find-viable-generators): Allow target type of
       "*" mean any type. Try generators for "*" first.
       Really ignore generators for base types when
       there's a generator for derived type. Allow
       grist-only element in generators requirements
       to match all values of property.

* new/prebuilt.jam
    (prebuilt-target-class): Remove
    (prebuild-file-generator): New class.


[SVN r16578]
2002-12-10 07:06:43 +00:00
Vladimir Prus
149a9f83ef Improve shared/static linking interface and
introduce separate <link-runtime> feature.
Allow to use the 'lib' rule to declare
libraries that should be searched for.

* builtin.jam: Remove 'shared' features. Introduce
   'link' and 'link-runtime'.
   (searched-lib-target): New class
   (searched-lib-generator): New generator.
   (lib-action): New class, derived from 'action'.
   Handles instances of 'searched-lib-target' in sources.
   Also, moves all libraries from sources to property value,
   so that we can repeat them twice in command line.
   (lib-generator): Generator which uses 'lib-action'.

* generators.jam: Allow empty list of sources everywhere.

* virtual-target.jam (file-target): Split into
   'abstract-file-target' and 'file-target'.
   (abstra
  (action.actualize-sources): New rule. Allows to
  handle the fact that some sources are special,
  and should not become $(>) in action body.


[SVN r16573]
2002-12-09 10:02:37 +00:00
Rene Rivera
3f27498cb1 Account for "Program Files" in different installations of Windows.
[SVN r16526]
2002-12-06 05:02:00 +00:00
Rene Rivera
330a10bc52 Minor fixes to compile in OpenVMS.
[SVN r16523]
2002-12-05 00:08:49 +00:00
Rene Rivera
93087de2d6 Fix end-of-lines
[SVN r16522]
2002-12-04 23:46:54 +00:00
Rene Rivera
14a1c4dda3 Initial. Minimal build of bootstrap only.
[SVN r16521]
2002-12-04 23:36:31 +00:00
Rene Rivera
7ce2c92056 Add the <version> feature.
[SVN r16485]
2002-12-03 04:46:57 +00:00
Dave Abrahams
602dfaeb6c Add missing "static" to suppress warning with aCC
[SVN r16484]
2002-12-03 00:02:47 +00:00
Vladimir Prus
3e0338e973 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
Dave Abrahams
774c509dd0 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
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
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
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
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