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

243 Commits

Author SHA1 Message Date
Vladimir Prus
bb77bf428a Bufgix.
* make1.c (make1): Do not process any stacked targets when interrupted.


[SVN r15650]
2002-10-02 15:11:36 +00:00
Vladimir Prus
9029c81fce Test for poor main's per-source requirements.
* new/builtin.jam: Make 'obj' main type.
    * new/generators-test/*: Try compiling the same CPP file with
        different defines and linking in the same exe.


[SVN r15649]
2002-10-02 12:38:13 +00:00
Vladimir Prus
8c7b0f4796 Move a file, mistakenly added on RC branch, to the trunk.
[SVN r15648]
2002-10-02 12:12:27 +00:00
Vladimir Prus
511b07358e Dependency scanning implementation.
* jam_src/builtins.c: New builtin SEARCH_FOR_TARGET.

    * jam_src/rules.c
         (bind_explicitly_located_targets): New function.
         (search_for_target): New function.

    * jam_src/make.c (make): Call 'bind_explicitly_located_targets()'
        immediately on entering.

    * jam_src/search.c (call_bind_rule): No longer 'static'.

    * new/builtin.jam (c-scanner.process): Real implementation.

    * test/dependency_test.py: Really test for dependencies.


[SVN r15646]
2002-10-02 11:56:32 +00:00
Vladimir Prus
c06b10384a Infrastructure for dependency scanning.
* virtual-target.jam (virtual-target.actualize): Accept
        'scanner' parameter and create different actual targets
        for different values of that parameter.
     (virtual-target.includes): Remove.
     (binding): New rule
     (remember-binding): New rule.

    * type.jam (set-scanner): New rule. (get-scanner): New rule.

    * scanner.jam: New file.

    * class.jam (__init__): Define __name__ in class scopes.

    * builtin.jam (c-scanner): New scanner class, associated with CPP
        files.


[SVN r15644]
2002-10-02 10:04:03 +00:00
Vladimir Prus
44f3faf761 Adjust include paths for compilations, so that generated headers are found.
* virtual-target.jam (traverse): New rule, returns a list of
    targets, given the graph root.
  (subvariant-dg): New class, to keep all targets for a given
    subvariant.
  (virtual-target.dg): New rule to access subvariant-dg.
  (virtual-target.path): New rule

* targets.jam (main-target.generate): Assign subvariant dg to all
  created targets.

* builtin.jam (compile-action.adjust-properties): Use subvariant
  dg to find all targets, their location, and add those location
  to include path.


[SVN r15619]
2002-10-01 17:00:24 +00:00
Vladimir Prus
b53b5af5e0 Added hooks to allow special property adjustment for generators and actions.
For example, this would allow compilers to add generated headers into include
path.

	* virtual-target.jam (action.adjust-properties): New rule.
	  (clone-action-template): Don't slice cloned object.

	* generators.jam (generator.action-class): New rule, to allow
	  overriding action class on per-generator basis.

	* builtin.jam (compile-action): New class.
	    (C-compiling-generator): New class.

	* gcc.jam: Use C-compiling-generator for gcc. Honor includes.


[SVN r15618]
2002-10-01 16:31:31 +00:00
Vladimir Prus
8166d286fe Made STATIC-LIB and SHARED-LIB derived from LIB.
[SVN r15617]
2002-10-01 15:13:01 +00:00
Vladimir Prus
05c24dcc43 Top-level invocation of generator.construct-dbg now returns only target of
requested types.

     * new/generators.jam (construct-dbg): The above change.
     * new/type.jam (is-derived): New rule.


[SVN r15614]
2002-10-01 15:06:33 +00:00
Vladimir Prus
c3044a4ce5 New rules and fixes.
* sequence.jam (merge): Bugfix.

    * regex.jam (transform): New rule.

    * property.jam (select): New rule, selects properties, given
         a list of features.


[SVN r15610]
2002-10-01 14:50:25 +00:00
Vladimir Prus
58738ec933 Improve RPM spec per suggestions from Malte Starostik and Steve Robbins.
[SVN r15608]
2002-10-01 14:33:47 +00:00
Dave Abrahams
0667a2755d Bug fix
[SVN r15536]
2002-09-28 08:03:38 +00:00
Dave Abrahams
9a5f0a5194 Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00
Vladimir Prus
609dd1f6ab Introduced SHARED-LIB and STATIC-LIB target types. Also introduced LIB target
type and a generator, which relays either to SHARED-LIB or STATIC-LIB,
depending of the value of "shared" feature.


[SVN r15529]
2002-09-27 07:35:03 +00:00
Rene Rivera
712c61a485 Fix for compiling with CodeWarrior.
[SVN r15503]
2002-09-25 05:53:35 +00:00
Dave Abrahams
99e3987837 Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
[SVN r15494]
2002-09-24 13:47:57 +00:00
Vladimir Prus
7caaaac870 Work in progress.
- Got rid of vectors of vectors in generators code. That was not only slow, it
  was also troublesome.
- Started work on transformation caching. Works but needs review/cleanup.


[SVN r15465]
2002-09-20 12:50:44 +00:00
Vladimir Prus
01a74fcd32 Simplication/optimization.
[SVN r15464]
2002-09-20 12:29:03 +00:00
Rene Rivera
19719f969a Some cleanup of code.
Rewrote the handling of help arguments to be even easier to use.
Added descriptions for all the top level --help arguments.
Added descriptions of help options.
Added a few more control arguments in preparation for HTML type output.


[SVN r15342]
2002-09-15 20:08:03 +00:00
Vladimir Prus
e7eab4c752 Prevent creating two equivivalent virtual targets. This, in particular,
prevents complining the same source twice with the same properties.
Also allow generators to change source names using patterns.

    * new/generators.jam (generator): Accept name patterns together with
        target types.
        (generator.generated-targets): Use name patterns. Transform generated
        targets with 'virtual-targets.register', to eliminate duplicate
        virtual targets.


[SVN r15302]
2002-09-13 12:19:42 +00:00
Vladimir Prus
52c57c06f5 Forgotten file.
[SVN r15301]
2002-09-13 12:16:17 +00:00
Dave Abrahams
bdb6a9e71c Added commentary
[SVN r15287]
2002-09-13 01:50:09 +00:00
Rene Rivera
4f3357c3f4 Implement hiding of local rules by default. Use --help-enable=show-locals to show them regardless.
[SVN r15280]
2002-09-12 22:26:56 +00:00
Rene Rivera
3f15eb554f Fix for when varaibles are edclared with an empty value.
[SVN r15279]
2002-09-12 22:00:23 +00:00
Vladimir Prus
9e538ffcea Output generator debugging messages only if there's
"--debug-generators" option in the command line.


[SVN r15265]
2002-09-11 15:25:18 +00:00
Vladimir Prus
021c2e550d Some cleanups. At the same time, allowed several suffixes to target types
(e.g. "cpp" and "cxx").


[SVN r15262]
2002-09-11 14:18:52 +00:00
Dave Abrahams
f41f552156 VC7 builds
[SVN r15236]
2002-09-09 14:05:10 +00:00
Dave Abrahams
fc0720b830 Apply patch for building with VC7
[SVN r15196]
2002-09-07 18:08:50 +00:00
Toon Knapen
de39477e27 IBM cc does not understand C++ comment (leading //).
Changed into using C-style comments (/* */)


[SVN r15187]
2002-09-06 21:03:10 +00:00
Dave Abrahams
7dc57cc6a2 Implemented less-liberal conversion rules
[SVN r15136]
2002-09-02 23:23:27 +00:00
Dave Abrahams
9f496d0cb2 Added quotes for the VC++ libraries
[SVN r15110]
2002-08-29 14:51:29 +00:00
Vladimir Prus
31aa4f4288 Correction to the previous commit.
[SVN r14925]
2002-08-16 14:18:58 +00:00
Vladimir Prus
a1adab49a1 Wholesale commit of generators.
[SVN r14924]
2002-08-16 14:13:15 +00:00
Vladimir Prus
ea264712c1 New rules.
* new/assert.jam (in, not-in): New rules.
    * new/class.jam (is-instance): New rule.
    * new/utility.jam (str, equal, less): New rules.
    * new/container.jam
        (container.str, container.sort, container.equal): New rules.


[SVN r14923]
2002-08-16 13:58:23 +00:00
Vladimir Prus
dbc30b4b60 New rules.
* new/sequence.jam (max-element): New rule.
        (select-highest-ranked): New rule.
    * new/numers.jam (__test__): Temporary disable all try/catch, since
        errors.jam can't handle recursive try/catch yet, and loads
        sequence, which in turns load numbers, in "catch" implementation.


[SVN r14922]
2002-08-16 13:50:17 +00:00
Vladimir Prus
eda5ec3bd5 Bugfix.
* new/numbers.jam (less): Now really accept zero.


[SVN r14895]
2002-08-15 16:13:28 +00:00
Vladimir Prus
a8cb8b2437 Facilitate new main target rules creation.
* new/targets.jam (make-target-alternative): New rule, which handles
        applying project requirements and default build, when needed.
    * new/make.jam (make): Use the above rule.


[SVN r14894]
2002-08-15 16:01:45 +00:00
Vladimir Prus
708e462dbf Created a new file 'common.jam' to keep rules not specific to a toolset.
* new/targets.jam: Use 'common' instead of 'utility'.
    * test/project_test3.py: Test that 'clean' works.
    * test/svn_tree.py: Sync with upstream revision 2944. Fix a bug
       which caused empty directory to be treated as file.


[SVN r14886]
2002-08-15 09:29:49 +00:00
Vladimir Prus
670c715402 Propagate only propagated properties.
[SVN r14884]
2002-08-15 08:42:08 +00:00
Vladimir Prus
28dbe1ce9f Allow gcc,borland/runtime-link=static to work on command line.
[SVN r14883]
2002-08-15 08:29:45 +00:00
Vladimir Prus
7057010d9b Forgotten change for V2 example.
[SVN r14878]
2002-08-15 07:09:22 +00:00
Vladimir Prus
84abc8e0b9 Incremented version to 3.1.2, in anticipation of upcoming Boost release.
[SVN r14831]
2002-08-14 10:15:30 +00:00
Vladimir Prus
ccc3499bcf Updated debian files.
[SVN r14830]
2002-08-14 10:01:32 +00:00
Vladimir Prus
04e36986de Fixed formatting.
[SVN r14829]
2002-08-14 10:00:24 +00:00
Dave Abrahams
10be219d62 Automatic class def_init(), abstract class __init__ errors
Fixed line endings
Suppressed warnings


[SVN r14828]
2002-08-14 06:26:33 +00:00
Vladimir Prus
2dd84eb017 Documentation update.
* boost_build_v2.html: Extend feature description. Change wordings in
        some places.
    * new/feature.jam: Remove comments that are now in boost_build_v2.html.


[SVN r14782]
2002-08-12 10:35:24 +00:00
Vladimir Prus
3918fe7e04 Allow to associate rules with features/properties, to be used for
special things like stlport.

    * new/feature.jam (action, run-actions): New rules.


[SVN r14781]
2002-08-12 10:28:08 +00:00
Vladimir Prus
c6194960ea Make 'path.jam' documentation parsable by doc.jam and tweak them.
[SVN r14757]
2002-08-09 14:37:14 +00:00
Vladimir Prus
04f57ff5ca Renamed 'os.path.jam' to 'path.jam'.
[SVN r14753]
2002-08-09 11:43:47 +00:00
Vladimir Prus
4c32eba667 Introduce 'incidental' features.
* new/feature.jam: The above change.
    * new/property.jam
      (remove): Renamed & generalized from 'remove-free'.
      (take): Likewise.


[SVN r14752]
2002-08-09 11:37:59 +00:00