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

1114 Commits

Author SHA1 Message Date
Rene Rivera
2e6aee9fe6 Fix compilation for conforming C compilers, in this case VC7. Variable declarations are only allowed at the start of scopes, not in the middle like C++.
[SVN r19455]
2003-08-05 04:48:28 +00:00
Vladimir Prus
a9cb673c30 Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
7fceeb4bc7 Drop all style classes support.
[SVN r19433]
2003-08-04 10:53:34 +00:00
Vladimir Prus
4d4b3da5d3 Add forgotten files.
[SVN r19432]
2003-08-04 09:31:20 +00:00
Vladimir Prus
c354977097 New builtin NORMALIZE_PATH.
[SVN r19431]
2003-08-04 09:29:28 +00:00
Vladimir Prus
4ec3f81593 New builtin SORT.
[SVN r19430]
2003-08-04 09:27:47 +00:00
Vladimir Prus
df07d2f0d0 Convert remaining classes.
[SVN r19429]
2003-08-04 09:25:34 +00:00
Vladimir Prus
bd38c04d0e Move abstract-target hierarchy to new classes.
[SVN r19428]
2003-08-04 09:22:29 +00:00
Vladimir Prus
c1e3f990f1 Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Vladimir Prus
c661419db3 Make action hierarchy use new style classes.
[SVN r19426]
2003-08-04 09:15:36 +00:00
Vladimir Prus
26da990bc6 Make virtual-target hierarchy use new style classes.
[SVN r19425]
2003-08-04 09:13:22 +00:00
Vladimir Prus
2447c88092 Refactorings.
* jam_src/modules.c: (import_module, imported_modules): New functions.
* jam_src/builtins.c (builtin_import_module, builtin_imported_modules):
  Just call the above.
* new/class.jam: Add some extra tests.


[SVN r19424]
2003-08-04 09:09:49 +00:00
Vladimir Prus
d16b5709cd Introduce new-style classes. They are declared by 'xclass' and instances
are created by 'xnew'. Those names will be changed when all classes are
migrated.


[SVN r19423]
2003-08-04 09:01:54 +00:00
Vladimir Prus
88d198970c Speed up module imports.
* jam_src/builtins.c: New builtins IMPORT_MODULE and IMPORTED_MODULES.
  jam_src/rules.c: (bindrule): Refactor. (lookup_rule): New function.

* kernel/modules.jam: Make use of IMPORT_MODULE.


[SVN r19422]
2003-08-04 08:45:41 +00:00
Vladimir Prus
1cb6571cc4 Revert 1.93, which was causing severe performance problems for Jurgen.
[SVN r19356]
2003-07-30 09:43:14 +00:00
Vladimir Prus
6cccfdb5ce Use /opt/SUNWspro as default location of Sun compiler.
Patch from Christopher Currie.


[SVN r19352]
2003-07-30 06:19:07 +00:00
Vladimir Prus
17d8027ce4 Add support for the Sun's toolset.
[SVN r19338]
2003-07-29 09:26:44 +00:00
Vladimir Prus
34b0c5d51d Correct the copyright.
[SVN r19325]
2003-07-28 08:25:29 +00:00
Vladimir Prus
630e14381f Bugfix. Keep the same suffix when staging files.
[SVN r19324]
2003-07-28 08:18:20 +00:00
Vladimir Prus
84ed51d9be Allow to change the default value of feature.
* new/feature.jam
  (set-default): New rule.
  (defaults): Use stored default value, not first allowed value.
  (extend-feature): Set default value.


[SVN r19323]
2003-07-28 07:35:33 +00:00
Vladimir Prus
9935ca42e3 Weaken multiple main target default build check. Must be identical
rather then only defined on first.

The previous behaviour did not work when there were "default-build" attribute
on project and two alternatives for a main target.

Patch from Michael Stevens.


[SVN r19303]
2003-07-25 07:58:47 +00:00
Vladimir Prus
02e0ec0de5 Quote filenames when needed.
[SVN r19302]
2003-07-25 06:55:42 +00:00
Vladimir Prus
4f30918d6a Patch from Pedro Ferreira to implement <tag> feature.
* new/targets.jam
  (basic-target.tag-name): New rule.
  (basic-target.generate-really): Temporary change self.name

* test/tag.py: New test.


[SVN r19298]
2003-07-24 13:57:45 +00:00
Vladimir Prus
2daf11039f Bugfixes.
Don't use TEMPORARY, since it blocks updates for some reason.
Fix path computations.


[SVN r19289]
2003-07-24 06:17:56 +00:00
Rene Rivera
cf7aedcd68 Patch from Christopher Currie, changes building with sunpro tools to use the C compiler instead of the C++ compiler.
[SVN r19263]
2003-07-22 16:40:27 +00:00
Vladimir Prus
c38e8339f2 Update dev plan.
[SVN r19262]
2003-07-22 10:19:08 +00:00
Vladimir Prus
11d9de9016 Unbreak the test on Windows.
[SVN r19258]
2003-07-22 09:31:45 +00:00
Vladimir Prus
15b0e35204 Python 2.1 compatibility.
[SVN r19255]
2003-07-22 09:02:09 +00:00
Vladimir Prus
9e9bd94b01 Update download locations.
[SVN r19254]
2003-07-22 08:51:05 +00:00
Vladimir Prus
566e58e3ec Update version.
[SVN r19253]
2003-07-22 08:50:09 +00:00
Vladimir Prus
2730108a2e Doc tweak.
[SVN r19252]
2003-07-22 08:47:08 +00:00
Vladimir Prus
7b8c2fca3f Fix BB46 (inline targets renaming).
* new/targets.jam
  (project-target.add-alternative): New rule.
  (project-target.build-main-targets): New rule.
  (project-target.generate, project-target.main-target,
   project-target.has-main-target): Call 'build-main-targets'
  (project-target.rename-main-target): Remove.

  (main-target-sources): Use 'rename', not project.rename-main-target.
  (main-target-alternative): Simplify.

* test/inline.py: Test for fix.


[SVN r19245]
2003-07-21 08:30:20 +00:00
Dave Abrahams
338c784003 Make it possible to account for PSDK
[SVN r19244]
2003-07-21 07:26:45 +00:00
Vladimir Prus
72d84b8e49 Bugfix: conditionals properties was misbehaving when there were ":" in
property value.

* new/property.jam
  (evaluate-conditionals-in-context): Don't be greedy in regex.

* test/conditionals3.py: New test.


[SVN r19243]
2003-07-21 07:17:19 +00:00
Vladimir Prus
d14334895e Unbreak STLport and railsys test.
* tools/stlport.jam
  (stlport-target-class.generate): New method.

* test/test_all.py: Run 'railsys' again.


[SVN r19242]
2003-07-21 06:43:28 +00:00
Vladimir Prus
370c9f2bfe Work on BB43 (hang on loop in main target references).
* new/targets.jam
  (start-building, end-building): New rules.
  (main-target.generate): Call the above rules.

* test/loop.py: New test.


[SVN r19241]
2003-07-21 06:21:27 +00:00
Vladimir Prus
1a7819fe34 Fix BB38 (composite properties expansion buggy).
* new/build-request.jam
  (expand-no-defaults): Don't expand composites.

* new/targets.jam
  (main-target.generate): Expand composites.

* test/property_expansion.py: New test.


[SVN r19240]
2003-07-21 05:55:42 +00:00
Vladimir Prus
35aa067d95 Fix a bug which caused non-free feature to appear twice in property set.
[SVN r19239]
2003-07-21 05:34:15 +00:00
Vladimir Prus
a130972d43 Add "common.file-creation-command" rule, to help in testing.
[SVN r19238]
2003-07-21 05:17:57 +00:00
Vladimir Prus
85572ef5c4 Improve error message.
[SVN r19237]
2003-07-21 05:16:47 +00:00
Vladimir Prus
4784c57a46 Optimization: don't use "path" module when not needed.
[SVN r19193]
2003-07-18 12:57:38 +00:00
Vladimir Prus
9812fadd36 Fix BB48: don't change suffix on prebuilt targets.
[SVN r19191]
2003-07-18 12:16:50 +00:00
Dave Abrahams
f2fbed621b Make it so that setting of BOOST_ROOT is not required, allowing the
getting started instructions for BBv2 work!  Now the boostbook files
are searched for additionally in $(BOOST_BUILD_PATH)/../boostbook.


[SVN r19171]
2003-07-17 15:34:28 +00:00
Vladimir Prus
117d3e0bd9 Language edits.
[SVN r19169]
2003-07-17 09:26:57 +00:00
Vladimir Prus
6c98aeafb4 Fix title.
[SVN r19151]
2003-07-16 14:32:48 +00:00
Vladimir Prus
6c596db344 Document the dependency scanning mechanism.
[SVN r19149]
2003-07-16 14:06:39 +00:00
Rene Rivera
dc593efc8b Simplyfied toolset definition code. Now supports easily adding different types of builds, and additional options.
[SVN r19129]
2003-07-15 16:07:11 +00:00
Dave Abrahams
2cb5e435bd fix --noassert option
[SVN r19119]
2003-07-14 21:55:47 +00:00
Dave Abrahams
430a3c109b add --noassert option
[SVN r19114]
2003-07-14 18:53:03 +00:00
Rene Rivera
5eaca2c483 Remove platform check for preventing use of yacc.
Replace with dev option "--grammar" which enables building of the grammar.
Some cleanup and generalization of searching for tools using ProgramFiles.


[SVN r19107]
2003-07-14 06:08:03 +00:00