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

752 Commits

Author SHA1 Message Date
Douglas Gregor
4f602c367d Remove html format, because it doesn't work
[SVN r17958]
2003-03-17 15:14:13 +00:00
Vladimir Prus
1a64e29a3d Try to reduce the number of include paths.
[SVN r17956]
2003-03-17 09:31:19 +00:00
Vladimir Prus
5f5d281dc1 Better direct request handling.
* new/build-request.jam
  (directly-requested-properties-adjuster): Redo.

* new/targets.jam
  (main-target.generate-really): Adjust properties here.

* new/virtual-target.jam
  (register-actual-name): New rule.
  (virtual-target.actualize-no-scanner): Call the above, to detected bugs,
  where two virtual target correspond to one Jam target name.


[SVN r17955]
2003-03-17 09:27:43 +00:00
Vladimir Prus
4546260675 Refactorings.
* new/build-request.jam
  (directly-requested-properties-adjuster): New class.

* new/targets.jam
  (abstract-target.direct-build-request): Gone.
  (abstract-target.set-property-adjuster): New method.
  (main-target.generate): Use property-adjuster.


[SVN r17954]
2003-03-17 08:36:34 +00:00
Vladimir Prus
05ca30e383 Bufgix. Thanks to Jürgen Hunold for the report.
* new/toolset.jam
  (set-target-variable): Call 'path.native' when setting path features.


[SVN r17953]
2003-03-17 07:58:06 +00:00
Vladimir Prus
110f86cea0 Path handling fixes.
[SVN r17952]
2003-03-17 07:44:33 +00:00
Douglas Gregor
487bcf33b9 Support FO, PS, PDF
[SVN r17926]
2003-03-14 21:39:45 +00:00
Douglas Gregor
f84239f6be Rename html-single to onehtml so that we can request document types
directly from the command line, e.g.,

  bjam onehtml pdf


[SVN r17920]
2003-03-14 19:00:52 +00:00
Douglas Gregor
ba168a3857 Added an XInclude dependency scanner for XML documents
[SVN r17918]
2003-03-14 18:31:26 +00:00
Douglas Gregor
76dd55f4f7 Initial shot at basic BoostBook Jam support
[SVN r17917]
2003-03-14 18:11:43 +00:00
Vladimir Prus
498c59acf9 Refactoring.
[SVN r17915]
2003-03-14 15:26:18 +00:00
Vladimir Prus
06b75a7d71 Bugfix. Make values of path-constants into absolute paths, so that they
can be used without problems as values of path features.


[SVN r17908]
2003-03-14 07:50:19 +00:00
Vladimir Prus
6e5234743c Bugfix: allow alternative with no sources and no generated targets.
* new/targets.jam
  (generate): Use a special string to report failure, not just return
      of empty list.
  (basic-target.generate-sources): Accomodate the above change.
  (basic-target.check-for-unused-sources): Allow empty list of targets.

* test/alternatives.py: New test.


[SVN r17906]
2003-03-14 06:58:44 +00:00
Dave Abrahams
5e84902733 Patches for WIN32
[SVN r17895]
2003-03-13 17:41:17 +00:00
Dave Abrahams
1ef541ccf5 Patches for WIN32
[SVN r17894]
2003-03-13 17:37:13 +00:00
Vladimir Prus
0bd6333bab Bugfix.
[SVN r17885]
2003-03-13 10:51:20 +00:00
Vladimir Prus
c3daa69e05 Bugfix: translate path properties even in conditional properties.
* new/property.jam
  (split-conditional): New rule
  (translate-paths): Use the above to handle conditional properties.

* test/path_features.py: New tests.


[SVN r17881]
2003-03-13 10:09:06 +00:00
Vladimir Prus
6a6d6fb90c Integrate the "railsys" test.
[SVN r17848]
2003-03-12 14:08:57 +00:00
Vladimir Prus
4c57eec8b2 Update tests for the last commit.
[SVN r17846]
2003-03-12 14:03:34 +00:00
Vladimir Prus
4cebb350b2 Bugfix.
* new/project.jam
  (project-attributes.set): Pass default build through 'property.make'.


[SVN r17845]
2003-03-12 13:55:11 +00:00
Vladimir Prus
5ab287d535 Add big testcase from Jürgen Hunold.
[SVN r17838]
2003-03-12 13:30:21 +00:00
Vladimir Prus
4ac0bc3f06 Fix conditional usage requirements. Thanks to Ali Azarbayejani for bug
report.

* new/property-set.jam
   (property-set.evaluate-conditionals): New parameter 'context'.

* new/property.jam
   (evaluate-conditionals-in-context): Renamed from 'evaluate-conditionals'.
   New parameter 'context'.

* new/targets.jam
   (basic-target.generate): Evaluate conditionals in usage-requirements.

* test/conditionals.py: Add test.


[SVN r17830]
2003-03-12 08:35:54 +00:00
Vladimir Prus
053545f1bd Bugfix.
* new/feature.jam
    (expand-subfeatures): Don't try expanding subfeatures in subfeatures.


[SVN r17815]
2003-03-11 15:26:10 +00:00
Vladimir Prus
6ec769bf7f Change <dependency>, so that it does not really add dependency
unconditionally.

* new/builtin.jam
     (linking-generator.run): New rule. Sets dependency on <library>
     properties.

* new/generators.jam
     (construct): Do not handle usage requirements. Do not handle
     dependency features in any way.

* new/targets.jam
     (main-target.generate-really): Don't create/set subvariant-dg.
     (basic-target.generate): Collect usage requirements. Create/set
     subvariant-dg.

* new/virtual-target.jam
     (subvariant-dg): Take actual build properties together with
     requested ones.


[SVN r17813]
2003-03-11 12:41:39 +00:00
Vladimir Prus
30dd23d718 Bugfixes: prevent two equal property lists generate two different
property-set instances, because of different order.

* new/property-set.jam
    (create): Sort the properties.

* new/feature.jam:
     (minimize): Bugfix.


[SVN r17812]
2003-03-11 12:08:35 +00:00
Vladimir Prus
b07f821bd6 Doc tweak.
[SVN r17768]
2003-03-07 16:39:13 +00:00
Dave Abrahams
30a94e32ce bugfix
[SVN r17763]
2003-03-07 15:22:54 +00:00
Vladimir Prus
1bdae210d2 Change default-build handling.
* new/targets.jam
     (main-target.apply-default-build): Combine build request with
     default build.

* new/default_biuld.py: More tests.


[SVN r17756]
2003-03-07 10:06:42 +00:00
Vladimir Prus
49ad964458 Refactorings.
* new/targets.jam
     (main-target.apply-default-build): Call
     'build-request.expand-no-defaults', not 'expand'. The motivation
     is to have defaults added in one place: 'property-set.add-defaults'.
     Also handle the case where default-build is empty.

     (main-target.generate): Apply defaults here. The motivation is
     that if we're using default build, default features should be
     applied here as well, or else we'll get ambiguous alternatives.

     (basic-target.generate): Do not add defaults.


[SVN r17755]
2003-03-07 09:44:20 +00:00
Vladimir Prus
07f6a34e11 Refactoring.
* new/targets.jam
    (main-target.apply-default-build): New rule, extracted from 'generate'.
    (main-target.generate): Use the above.


[SVN r17754]
2003-03-07 09:09:44 +00:00
Vladimir Prus
8d38ee1b89 Make default values of features really work. Now a feature with
default value will always be present in build properties of all
main targets. The change moves adding default value into main
targets --- it was done at the top level.

* new/build-request.jam
    (expand-no-defaults): No longer local.

* new/build-system.jam
    Use 'build-request.expand-no-defaults', not 'expand'.

* new/feature.jam
    (add-defaults): Tolerate conditional properties
        (e.g <variant>debug:<define>DEBUG)

* new/property-set.jam
    (property-set.add-defaults): New method.

* new/targets.jam
    (basic-target.final-properties): Add defaults.

* test/default_features.py: New test.


[SVN r17753]
2003-03-07 08:45:37 +00:00
Vladimir Prus
8e801f7dcd Typo.
[SVN r17752]
2003-03-07 06:47:03 +00:00
Dave Abrahams
8f2b6126b9 Accomodate msvc
[SVN r17746]
2003-03-06 17:54:16 +00:00
Dave Abrahams
e48fb0e74c set-target-variables on multiple targets
[SVN r17744]
2003-03-06 17:25:10 +00:00
Dave Abrahams
a474528bdc Stop putting exported symbols in the intended .exe object file
[SVN r17742]
2003-03-06 14:58:04 +00:00
Dave Abrahams
49b7e75ea2 improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Vladimir Prus
cb73a2284c Add comments/configuration examples.
[SVN r17736]
2003-03-05 15:40:33 +00:00
Vladimir Prus
7494886fee Improve test system docs.
[SVN r17731]
2003-03-05 14:51:05 +00:00
Vladimir Prus
248e2cd833 Doc improvements. Explain library dependencies. Clarify project ids.
[SVN r17729]
2003-03-05 11:17:20 +00:00
Vladimir Prus
25ebca22f6 Make 'user-interface' feature propagated.
[SVN r17711]
2003-03-04 07:55:06 +00:00
Dave Abrahams
ab413cb434 Add user-interface feature; won't build .exes otherwise!
[SVN r17705]
2003-03-03 16:13:37 +00:00
Dave Abrahams
26ffd348a9 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
b054db5911 Prevent the 'make' rule perform reduntant builds. Thanks to Kirill Lapshin
for the bug report.

* new/make.jam
    (make-target-class.construct): Pass the result through
    'virtual-target.register'.

* new/virtual-target.jam
    (register): Ignore incidental properties when deciding if targets are
    equivivalent.

* test/make_rule.py: Add new test.


[SVN r17701]
2003-03-03 07:47:14 +00:00
Vladimir Prus
5b1001ef74 Warn on unused sources.
* new/targets.jam
    (basic-target.check-for-unused-sources): New rule.
    (basic-target.generate): Call the above.

* new/virtual-target.jam
    (traverse): New arguments 'include-roots' and 'include-sources'.

* test/unused.py: New test.


[SVN r17685]
2003-02-28 08:13:38 +00:00
Vladimir Prus
d9e2cafc70 Refactoring.
* new/targets.jam
   (basic-target.final-properties): New rule, extracted from 'generate'.
   (basic-target.generate-sources): New rule, extracted from 'generate'.
   (basic-target.requirements): Gone.


[SVN r17684]
2003-02-28 07:19:31 +00:00
Vladimir Prus
e69e444e5d Cleanups. Default build improvements related to BB10.
* new/targets.jam
    (main-target.default-build): New field.
    (main-target.add-alternative): Don't allow default-build for
       second and subsequence alternatives. Record default build
       from the first one.
    (main-target.generate): Expand build request.
    (main-target.generate-really): New rule, extracted from 'generate'.
    (basic-target.default-build): New rule.
    (basic-target.generate): Don't expand default build.

* test/BoostBuild.py
  Allow to suppress passing toolset when calling run_build_system.
  Some Python 2.1 compatibility fixes.

* test/alternatives.py
  More tests.

* test/default_build.py
  More tests.


[SVN r17683]
2003-02-28 06:36:39 +00:00
Dave Abrahams
8caa1bfca8 Fix extensions
[SVN r17681]
2003-02-28 01:33:10 +00:00
Dave Abrahams
527414ced6 Warning suppression for MSVC
[SVN r17676]
2003-02-27 15:08:20 +00:00
Dave Abrahams
8ecc2fb311 Fixes for NT
[SVN r17675]
2003-02-27 15:04:11 +00:00
Dave Abrahams
2fe6cc0f7e Warning suppression for MSVC
[SVN r17674]
2003-02-27 15:01:02 +00:00