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

120 Commits

Author SHA1 Message Date
Vladimir Prus
53150ba4b7 Cleanups.
* new/targets.jam: (main-target.alternatives): Renamed from
      'main-target.variants'. Comment improvements.


[SVN r14342]
2002-07-08 10:38:54 +00:00
Vladimir Prus
d108c7d3d3 Using targets from other projects implemented.
* new/project.jam (lookup): Bugfixes. (find-target): Attempt to load
        project specified by project id.
        Project module rules:
            project: Allow empty id.
            use-project: New rule.
    * new/targets.jam: (basic-target.generate-source): Correct a bug in
        separating target id from extra properties.


[SVN r14341]
2002-07-08 10:26:57 +00:00
Vladimir Prus
5c02cc13dc Add "--dump-project" command line option.
[SVN r14340]
2002-07-08 09:50:43 +00:00
Vladimir Prus
eeeb69680e 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
bceebcf3a1 Bugfix in 'property.refine'.
[SVN r14338]
2002-07-08 09:34:01 +00:00
Rene Rivera
2390d3c642 Most of the parsing is done, and generating docs. Minimally usefull as inline help.
[SVN r14334]
2002-07-08 06:40:46 +00:00
Dave Abrahams
1b355b296c incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
0bfc1049ee Apply feature defaults when building.
* new/build-request.jam (expand-with-defaults): New rule
    * new/build-system.jam, new/targets.jam: Use 'expand-with-defaults' instead
        of 'expand'.
    * new/builtin.jam: Define new feature 'threading'.
    * test/project_test3.py: Test that feature defaults are applied.


[SVN r14307]
2002-07-05 15:09:28 +00:00
Dave Abrahams
3989a698e0 add-defaults
[SVN r14306]
2002-07-05 14:21:35 +00:00
Vladimir Prus
3555e628b5 Stronger checks on command-line build request.
* new/property.jam (validate): New rule.
    * new/build-request.jam (convert-command-line-element): Call
        property.validate for each build request element.


[SVN r14304]
2002-07-05 08:54:33 +00:00
Rene Rivera
b864434ac9 Change container/list to container/vector.
Added documentation for container/vector.


[SVN r14293]
2002-07-03 17:18:57 +00:00
Vladimir Prus
add9e9c3d8 Load site-config/user-config. This closes issue 552870.
[SVN r14290]
2002-07-03 15:34:50 +00:00
Vladimir Prus
3bc5f6b0db Make use of container.jam improvements.
* new/build-request.jam (from-command-line): Return list class.
    * new/build-system.jam: Adjust accordingly.


[SVN r14289]
2002-07-03 14:42:43 +00:00
Rene Rivera
598cd6c5f0 Added list.get-at that returns the value of an item, assumes that the item is a node.
Added support for n-recursive access to list.at and list.get-at to make access to recursive structures easier.


[SVN r14285]
2002-07-02 20:39:20 +00:00
Vladimir Prus
65920dfb95 Implemented getting build request from the command line.
* new/build-request.jam (from-command-line): New rule.
    * new/build-system.jam: Get build request from the command line,
        expand it and pass to 'generate' rules.
    * new/targets.jam: Use targets's properties when computing path.
    * test/project_test3.py: Test the above changes.


[SVN r14283]
2002-07-02 15:02:04 +00:00
Vladimir Prus
c9c1a714d4 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
Dave Abrahams
3392742d1e improved property.as-path
[SVN r14269]
2002-07-01 20:05:37 +00:00
Vladimir Prus
082c25530d Beginning of the 'make' rule.
* new/targets.jam: Check for duplicate 'basic-target::generate()' calls.
        Use better logic to tell is source is another main target or file.
        (project-target::has-main-target): New rule.
    * new/project.jam (lookup): Fixes. (find-target): Implemented.
    * new/make.jam: New file, defines the 'make' rule and associated target
        class.
    * new/build-system.jam: Import 'make'. Generate virtual targets and
        actualize them.
    * new/utility.jam: Added "MkDir" rule and actions.
    * test/project_test3.py: New test.


[SVN r14249]
2002-06-27 14:00:30 +00:00
Vladimir Prus
f0a1a314c3 Futher cleanups. Tests now pass.
* new/targets.jam: Rename 'abstract-target::local-name' to 'name'. Rename
        'abstract-target::name()' to 'abstract-target::full-name()'.
    * test/project-test2/project-test2.jam: Induces change.


[SVN r14247]
2002-06-27 11:00:05 +00:00
Dave Abrahams
c90baf5b06 Bug fix for Vladimir
[SVN r14244]
2002-06-26 20:52:38 +00:00
Vladimir Prus
e4f51ea789 Cleanups.
[SVN r14237]
2002-06-25 13:27:47 +00:00
Vladimir Prus
ce9a7f9bd9 Tweak.
* new/class.jam: Import all rules from the 'class' module into a class
        instance module, not into a class module.
    * new/targets.jam: Remove explicit import from 'class' in ctor.


[SVN r13829]
2002-05-13 10:42:18 +00:00
Rene Rivera
73670aa02d Added container.
[SVN r13828]
2002-05-12 16:57:31 +00:00
Rene Rivera
7fbaf80152 Container classes of various kinds, only list for now.
[SVN r13827]
2002-05-12 16:57:14 +00:00
Rene Rivera
380be0ba3f Added is-a.
[SVN r13826]
2002-05-12 16:56:41 +00:00
Rene Rivera
633d2690ce Fixed printing of extraneous space when printing empty lines.
[SVN r13705]
2002-05-07 03:56:46 +00:00
Dave Abrahams
7316de6a87 initial commit
[SVN r13699]
2002-05-06 21:37:47 +00:00
Dave Abrahams
e2bec19ca0 new initialization code + tests
[SVN r13688]
2002-05-06 18:14:59 +00:00
Dave Abrahams
619aa3d30b new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
1540ef6ce2 Some os.path improvements.
* new/os.path.jam: (root): Renamed from 'root-relative-path'.
        (join): Accept arbitrary list of elements.
    * new/project.jam: Induced changes.


[SVN r13686]
2002-05-06 15:20:24 +00:00
Vladimir Prus
f89826f795 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
Vladimir Prus
30f83cf828 Some rules added and fixed.
* new/print.jam (wrapped-text): New rule.
    * new/property.jam (refine): Fixed a horrible bug. (as-path): New rule,
        to be made smarter later.
    * sequence.jam: Comment typo fixed, and trailing whitespace killed.


[SVN r13679]
2002-05-06 07:42:45 +00:00
Vladimir Prus
6817b2e046 Test system fixes.
* test/BoostBuild.py (Tester.__init__): New paremeter 'arguments'. Add
        BOOST_BUILD_PATH to the command line.
        (Tester.set_tree): Make files writable after copying.
        (Tester.copy): New method
        (Test.read): Open file in read mode.
    * test/test_system.html: Documented the above changes. Small cleanups.
    * new/test.jam: Remove bootstrap code.
    * new/readme.txt: Changed command line for running unit tests.


[SVN r13678]
2002-05-06 07:22:46 +00:00
Rene Rivera
4852d195c3 Updated test to use generic print rules instead of dump rule. And therefore removed dump rule.
[SVN r13667]
2002-05-04 15:44:38 +00:00
Rene Rivera
c963414f7b More cleanup of var names.
[SVN r13666]
2002-05-04 15:38:12 +00:00
Vladimir Prus
6ad14b5eee Renamed 'refine-properties' to 'refine'.
[SVN r13664]
2002-05-04 12:32:22 +00:00
Vladimir Prus
424eb63499 Added a newline at the end of file -- for testing purposes, mostly.
[SVN r13649]
2002-05-03 17:18:31 +00:00
Rene Rivera
c8e6a65eb9 Some cleanup of project-root.load, per Dave's request.
[SVN r13648]
2002-05-03 17:08:55 +00:00
Dave Abrahams
cc1295aa1f Set __class__ attribute in instances
Added block comment on class system usage
Added some new tests


[SVN r13646]
2002-05-03 16:40:12 +00:00
Rene Rivera
b84347f194 Removed tabs ;-O
[SVN r13645]
2002-05-03 16:21:23 +00:00
Vladimir Prus
5fcb8a7df6 Simplified project-root.load.
[SVN r13641]
2002-05-03 15:03:35 +00:00
Vladimir Prus
a235699660 Some property functions.
* property.jam (refine-properties): New rule.
    * feature.jam: New feature attribute 'link-incompatible'.
    * test.jam: Test the property module.


[SVN r13640]
2002-05-03 14:15:18 +00:00
Dave Abrahams
ee5fa7e874 A small simplification
[SVN r13639]
2002-05-03 14:15:13 +00:00
Vladimir Prus
dcbba6908b Enhancements for project.lookup.
* new/project.jam (lookup): Require second argument, which specifies
        directory, relative to which paths in id should be interpreted.
    * test/project-test1.jam: Test for the above change.


[SVN r13636]
2002-05-03 10:10:14 +00:00
Vladimir Prus
192311cd7d 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
Rene Rivera
8c908113df Slightly more functionality for print and doc. Not really working yet.
[SVN r13631]
2002-05-03 04:44:19 +00:00
Rene Rivera
43825413c7 Fixed find-jamfile prunning to given directory root.
[SVN r13630]
2002-05-03 04:43:37 +00:00
Dave Abrahams
d447258a56 Some bug fixes
[SVN r13623]
2002-05-02 18:59:31 +00:00
Dave Abrahams
ca889e05f7 Account for "normalized path" bugs
[SVN r13622]
2002-05-02 17:08:41 +00:00
Dave Abrahams
548b75e446 Quick fixes, one step towards health.
[SVN r13621]
2002-05-02 16:53:12 +00:00