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

722 Commits

Author SHA1 Message Date
Vladimir Prus
85ea460c70 Kill a warning.
[SVN r15858]
2002-10-10 13:20:43 +00:00
Vladimir Prus
3be178a1ea Forgotten file.
[SVN r15852]
2002-10-10 12:20:19 +00:00
Vladimir Prus
2e0e73f25f Add more tests.
[SVN r15851]
2002-10-10 12:12:06 +00:00
Vladimir Prus
e44de6f1b0 Implement dependendency features.
[SVN r15850]
2002-10-10 11:58:41 +00:00
Dave Abrahams
f5885b0a2a Work around core jam bug
[SVN r15823]
2002-10-09 13:14:57 +00:00
Vladimir Prus
ca18960a9e Implement simple form of use requirements.
* new/virtual-target.jam
        (virtual-target.use-requirements): New rule.
        (virtual-target.set-use-requirements): New rule.

    * new/generators.jam (construct): Use 'use-requirements' of sources.

    * new/targets.jam (basic-target.generate): Store use requirements for
             generated targets.
      (main-target-alternative): Process use requirements.

    * new/project.jam: Support 'use-requirements' project attribute.


[SVN r15821]
2002-10-09 11:33:22 +00:00
Gennadiy Rozental
3d9b7c0af1 Initial commit for sunpro and sunpro-stlport toolset definitions
[SVN r15819]
2002-10-09 08:39:17 +00:00
Rene Rivera
edf5d89eba Remove the "d" flag from CLONE as there is not portable way to copy symlinks.
[SVN r15816]
2002-10-09 04:02:19 +00:00
Dave Abrahams
02c5157270 Clean up Boost.Python v1 flotsam, update documentation
[SVN r15815]
2002-10-09 02:52:47 +00:00
Dave Abrahams
e7a8a10df9 Allow for toolset chaining
[SVN r15814]
2002-10-09 02:50:58 +00:00
Vladimir Prus
9e696814a3 Bugfixes.
* new/virtual-targets.jam (virtual-target.root): New rule
        (traverse): Don't traverse past roots.
    * new/targets.jam (main-target): Call 'virtual-target.root' as
        appropriate.


[SVN r15773]
2002-10-07 14:34:43 +00:00
Vladimir Prus
4115276dec Sundry improvements:
Bison and lex support.
    unit-test rule
    --version option
    default build really works

    * new/build-system.jam: Bugfixes. Added "--version" option.

    * new/project.jam: If default-build is not specifies, don't stick "debug".

    * new/property.jam (evaluate-conditionals): New rule.

    * new/targets.jam (basic-target.generate): Evalute conditional properties.

    * test/BoostBuild.py (Tester.maybe_do_diff): New method.
        (Tester.run_build_system): Call the above method when
        appropriate.


[SVN r15771]
2002-10-07 13:34:14 +00:00
Vladimir Prus
4b5d5cc6e4 Allow to specify target ids in command line.
* project.jam (lookup-with-load): New rule.
      (find-target): Try interperting target id as project first.

    * build-request.jam (from-command-line): Don't grab
      unconditionally elements which have slashes -- they may be target
      ids.

    * build-system.jam: Allow target ids is command
      line. Accept --clean option.

    * BoostBuild.py (run_build_system): Call 'ignore_directoies' on diff.

    * tree.py (Trees_different.ignore_directoies): New method.


[SVN r15768]
2002-10-07 13:18:27 +00:00
Vladimir Prus
742e30850e Fix some obscure bugs.
* new/virtual-target.jam (clone-template): Improve interface and logic.

    * new/make.jam (make-target-class.construct): Set type and suffix on
    generated targets.

    * new/generators.jam (construct): Make sure all targets have known
     types.


[SVN r15766]
2002-10-07 13:08:04 +00:00
Rene Rivera
45ee255286 * Support for using <tag> renaming in any target.
* Added some fake targets for the specific files in a stage.
* features.jam, added <tag> feature, as always relevant.


[SVN r15752]
2002-10-06 17:24:02 +00:00
Dave Abrahams
454c979d49 Remove Boost.Python v1 from main trunk
[SVN r15723]
2002-10-05 04:37:49 +00:00
Dave Abrahams
2e60f1b10c Support for MinGW-2.0
[SVN r15719]
2002-10-04 21:34:32 +00:00
Vladimir Prus
a89955db06 Bugfix.
[SVN r15714]
2002-10-04 15:23:46 +00:00
Vladimir Prus
e25e871ef9 Cleanup.
[SVN r15711]
2002-10-04 14:50:34 +00:00
Vladimir Prus
cf24cc243a Increase Boost.Jam version to 3.1.3.
[SVN r15710]
2002-10-04 14:25:11 +00:00
Vladimir Prus
f7ad708129 Allow directory part in names of source files.
[SVN r15708]
2002-10-04 13:59:25 +00:00
Vladimir Prus
688f31f78c Implement path features.
* property.jam (translate-paths): New rule.

    * targets.jam (main-target-alternative): Translate path
      properties.

    * project.jam (project-attributes.set): Likewise.

    * builtin.jam (variant): Fixes.


[SVN r15707]
2002-10-04 13:48:38 +00:00
Vladimir Prus
2d011cda17 Implement variant declaration.
* builtin.jam (variant): New rule.

    * build-system.jam: Unconditionally add <toolset>gcc to build
        request. Will be fixed when toolset support is ready.

    * feature.jam (extend-feature): Bugfix.


[SVN r15678]
2002-10-03 16:29:21 +00:00
Vladimir Prus
18991908fc Propagate free properties in build request to all directly requested targets.
* targets.jam
        (abstract-target.direct-build-request): New rule.
        (project-target.direct-build-request): New rule.
        (main-target.direct-build-request): New rule.
        (main-target.generate): Use data stored by
        'direct-build-request' to adjust build properties.

    * build-system.jam: Call 'direct-build-request' on project
         target in "."

    * feature.jam (feature): Don't allow propagated free features.


[SVN r15677]
2002-10-03 15:18:59 +00:00
Vladimir Prus
9fa663224f Skip projects when property refinement for them fails.
Skip main targets when no alternative can be build.
Issue error when 'construct' for alternative fails.


[SVN r15676]
2002-10-03 15:01:09 +00:00
Vladimir Prus
da0376118c Cleanups.
[SVN r15651]
2002-10-02 16:13:54 +00:00
Vladimir Prus
16d88b9cd1 Bufgix.
* make1.c (make1): Do not process any stacked targets when interrupted.


[SVN r15650]
2002-10-02 15:11:36 +00:00
Vladimir Prus
4af9e4371f 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
9ad477276c Move a file, mistakenly added on RC branch, to the trunk.
[SVN r15648]
2002-10-02 12:12:27 +00:00
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