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

19 Commits

Author SHA1 Message Date
Vladimir Prus
c9b3a8449a Make toolset.using accessible in project-root. It's a great convenience
for testing.


[SVN r18441]
2003-05-19 10:52:31 +00:00
Dave Abrahams
6ebded3459 Note: there is currently a circular dependency between type.jam and
virtual-target.jam.

- Added the missing explicit imports, now that we don't dump
  everything into the global module with qualification

- stopped using the feature-space hack for temporary testing states of
  the feature module.  Instead we move its global variable definitions
  to a temporary module.

- the way feature.action was invoking the rule it was being passed was
  evil.  Now you pass (even local) rules without qualification and
  they are invoked in the source module context.

- module __test__ rules are always executed in a separate module, so
  that their import dependencies can be separated from those of the
  module being tested.

- better reporting of circular module-loading dependencies
  implemented.

- minor changes:

    property-set.jam:  moved .empty initialization to avert circular
    load dependency .

    symlink.jam: fixed global variable naming.


[SVN r18407]
2003-05-15 22:22:13 +00:00
Vladimir Prus
110f86cea0 Path handling fixes.
[SVN r17952]
2003-03-17 07:44:33 +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
aae2ef0246 Tweak path-constant handling.
* new/path.jam (make-UNIX, make-NT): Call 'path.join' on elements,
        so that paths are normilazed.
      (join): Allow one element to be passed.
    * new/project-root.jam: Use 'path.root' when declaring path constants.


[SVN r16096]
2002-11-04 17:27:42 +00:00
Rene Rivera
951ff4684c Add "path-constant" rule to declare/define constants which are used as paths.
[SVN r16020]
2002-10-30 06:36:09 +00:00
Vladimir Prus
04f57ff5ca Renamed 'os.path.jam' to 'path.jam'.
[SVN r14753]
2002-08-09 11:43:47 +00:00
Rene Rivera
7d286e6f9f Added import of user project-root rules into projects.
[SVN r14727]
2002-08-07 03:45:45 +00:00
Rene Rivera
35f3e6b800 Refactor to minimize the number of symbols in the user modules.
Add use-project rule in project root context.
Add project-root rule in project context.


[SVN r14703]
2002-08-06 04:10:21 +00:00
Vladimir Prus
9384457f08 Work on the issue 578618. Moved all the data out of jamfile modules.
* new/project.jam (project-attributes): New class to keep all the
        project related data. (attritutes, attribute): New rules to access
        the project attributes. (target): New rule to access the project
        target for a jamfile module.
        (initialize): Store attribute in project-attributes instance.
        (project): Moved to jamfile module.
        (assign-option): Moved with modifications to project-attributes.get.
    * new/targets.jam, new/project-root.jam, new/make.jam,
      new/build-system.jam: Induced changes.


[SVN r14362]
2002-07-09 07:56:51 +00:00
Vladimir Prus
422a479aa8 Some bugfixes and simplifications.
* new/os.path.jam (join-imp): Bugfixes. (all-parents): Simplified.
        (glob-in-parents): New rule.
    * new/project-root.jam (load): Use 'glob-in-parent' instread of
        'find-to-root', so that "project-root.load ." always work.
    * new/project.jam (find-jamfile): Make use of the 'glob-in-parents'
        rule.


[SVN r14339]
2002-07-08 09:49:28 +00:00
Vladimir Prus
efd007c790 Project root loading tweaks.
* new/project-root.jam (load): Really produce an error message when
        project root file is not found.
    * test/project_test3.py: Test for the error reporting.


[SVN r14280]
2002-07-02 14:14:45 +00:00
Vladimir Prus
526a6b60ec Work on project/targets modules.
* new/targets.jam: Considerably changed.
    * new/project.jam: Projects now return project targets via 'target' rule.
        Requirements are inherited. Renames 'subinclude(s)' to 'subproject(s)'.
        (find-jamfile): Rewritten, which fixes some bugs.
    * new/project-root/jam: (print): Sort projects first by they id, which
        makes order more predictable.
    * test/project-test1.py: Also run test from the 'project-test1' dir.
    * test/project-test2.py: New test.


[SVN r13681]
2002-05-06 09:11:30 +00:00
Rene Rivera
ff7f0bf8f6 More cleanup of var names.
[SVN r13666]
2002-05-04 15:38:12 +00:00
Rene Rivera
006224fc68 Some cleanup of project-root.load, per Dave's request.
[SVN r13648]
2002-05-03 17:08:55 +00:00
Vladimir Prus
20f3235e4d Simplified project-root.load.
[SVN r13641]
2002-05-03 15:03:35 +00:00
Vladimir Prus
132b2192e6 Modification of project handling and fixes.
* os.path.jam (basename, pwd, glob): New rules. Changed naming convention
        for many other rules.
    * project-root.jam: Use os.path everywhere.
    * project.jam: Don't convert project paths to absolute paths. Use os.path.
    * build-system.jam: Don't use absolute name when loading jamfile.


[SVN r13634]
2002-05-03 09:40:26 +00:00
Dave Abrahams
148629fbd9 Use modules.clone-rules
[SVN r13616]
2002-05-02 16:38:04 +00:00
Rene Rivera
1d13f4ec1e Factored management of project-root to it's own module.
[SVN r13502]
2002-04-16 06:03:11 +00:00