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

693 Commits

Author SHA1 Message Date
Vladimir Prus
1c8db11b60 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
f1ae04c4a9 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
616e43dd10 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
5369e948b4 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
adf2507def Made STATIC-LIB and SHARED-LIB derived from LIB.
[SVN r15617]
2002-10-01 15:13:01 +00:00
Vladimir Prus
50cb869748 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
0ce8654d3a Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +00:00
Vladimir Prus
692e5163b6 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
7dab0278ce Improve RPM spec per suggestions from Malte Starostik and Steve Robbins.
[SVN r15608]
2002-10-01 14:33:47 +00:00
Markus Schöpflin
1e0f891c75 Merged fixes from the release branch.
[SVN r15605]
2002-10-01 12:52:02 +00:00
Rene Rivera
af42a44378 Merge changes from RC_1_29_0, for correct handling of stage-tag targets.
[SVN r15546]
2002-09-29 05:38:38 +00:00
Dave Abrahams
94a316578a Bug fix
[SVN r15536]
2002-09-28 08:03:38 +00:00
Dave Abrahams
8f0b7b9fe2 Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00
Vladimir Prus
4c4567dde5 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
df6ffde6b8 Fix for compiling with CodeWarrior.
[SVN r15503]
2002-09-25 05:53:35 +00:00
Dave Abrahams
7e11df25ca Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
[SVN r15494]
2002-09-24 13:47:57 +00:00
Vladimir Prus
38f178b0d8 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
660fa0a581 Simplication/optimization.
[SVN r15464]
2002-09-20 12:29:03 +00:00
Rene Rivera
df9871f818 Slight mod in case there are no extra files and MakeLocate & DEPENDS can't handle that.
[SVN r15456]
2002-09-19 17:13:36 +00:00
Dave Abrahams
cd9257d1c5 Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
Also fix typo excpetion->exception


[SVN r15455]
2002-09-19 17:06:10 +00:00
Dave Abrahams
874da1bc87 Fix bad dependency bug
[SVN r15453]
2002-09-19 17:00:10 +00:00
Beman Dawes
8fb535e75c /Zm800 so ublas compiles
[SVN r15441]
2002-09-18 19:18:27 +00:00
Vladimir Prus
b1aad753c5 Documented the UPDATE rule.
[SVN r15408]
2002-09-17 12:31:49 +00:00
Vladimir Prus
3f320c3864 Processed with HTML tidy.
[SVN r15407]
2002-09-17 12:22:34 +00:00
Dave Abrahams
3604047759 Checkin work in progress before I lose it through some terrible accident ;-)
[SVN r15379]
2002-09-16 13:56:02 +00:00
Rene Rivera
14faa3377d 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
Rene Rivera
4dfabbe888 Implemented "better" copying by the stage rule. This makes it so that it copies additional targets generated by links. This is for getting better support of SONAMES in the stage directories.
[SVN r15304]
2002-09-13 16:01:35 +00:00
Vladimir Prus
c46c7fdae0 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
46aa5c661a Forgotten file.
[SVN r15301]
2002-09-13 12:16:17 +00:00
Dave Abrahams
b84699b2d1 Added commentary
[SVN r15287]
2002-09-13 01:50:09 +00:00
Rene Rivera
c494029fa4 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
2b045385ba Fix for when varaibles are edclared with an empty value.
[SVN r15279]
2002-09-12 22:00:23 +00:00
Vladimir Prus
556ae33347 Added generators test to the test suite.
[SVN r15269]
2002-09-11 15:56:56 +00:00
Vladimir Prus
23e47181a9 Small fix.
[SVN r15268]
2002-09-11 15:54:39 +00:00
Dave Abrahams
503f434ea3 More cygwin/NT compatibility fixes
[SVN r15267]
2002-09-11 15:40:32 +00:00
Rene Rivera
bc4294371e Updated from Markus Shoepflin. Compiler selected based on threading option and C/C++, support for rtti and exception-handling features.
[SVN r15266]
2002-09-11 15:31:43 +00:00
Vladimir Prus
b58ad30fe2 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
Dave Abrahams
f175af9955 Workaround for cywgin/NT build
[SVN r15263]
2002-09-11 14:37:25 +00:00
Vladimir Prus
4950f269d3 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
Vladimir Prus
78818b79a2 Doc clarifications.
[SVN r15251]
2002-09-10 12:52:36 +00:00
Vladimir Prus
87034635d1 Added development plan.
[SVN r15250]
2002-09-10 10:06:06 +00:00
Dave Abrahams
52328850c5 VC7 builds
[SVN r15236]
2002-09-09 14:05:10 +00:00
Dave Abrahams
985eff2235 Apply patch for building with VC7
[SVN r15196]
2002-09-07 18:08:50 +00:00
Toon Knapen
024158b9e3 IBM cc does not understand C++ comment (leading //).
Changed into using C-style comments (/* */)


[SVN r15187]
2002-09-06 21:03:10 +00:00
Toon Knapen
f5e70d6708 added LIBPATH, FINDLIBS and NEEDLIBS
[SVN r15182]
2002-09-06 17:58:10 +00:00
Beman Dawes
fcef03a603 better heading, link
[SVN r15181]
2002-09-06 15:57:46 +00:00
Rene Rivera
d6998ce0d7 TABS, EOLs+EOFs.
[SVN r15177]
2002-09-06 14:40:30 +00:00
Rene Rivera
833ff260b7 Remove TABS.
[SVN r15176]
2002-09-06 14:30:33 +00:00
Rene Rivera
95df2ca6e0 Example of templates.
[SVN r15173]
2002-09-06 03:38:30 +00:00
Dave Abrahams
9d430f5f06 bugfix
[SVN r15170]
2002-09-05 14:10:39 +00:00