Commit Graph

395 Commits

Author SHA1 Message Date
Dave Abrahams
741ea8f345 Fix -d+5 output
[SVN r15997]
2002-10-28 04:06:06 +00:00
Vladimir Prus
77e4f3a793 Added an example of library use.
[SVN r15971]
2002-10-23 14:03:17 +00:00
Vladimir Prus
1c0baff138 Changes the debian bjam package to be similar to jam package.
[SVN r15968]
2002-10-23 12:27:57 +00:00
Vladimir Prus
9b8e9218ef Check Boost.Jam version.
[SVN r15967]
2002-10-23 12:25:26 +00:00
Vladimir Prus
27cde07639 Improve Boost.Python building.
* libs/python/build/Jamfile.v2: Sense the location of python headers. Export
  include paths.

* libs/python/example/Jamfile.v2: New file.

* new/targets.jam: Use refined properties for constructed
    dependency properties

* new/gcc.jam: Handle 'find-library'. Set soname for dynamic libraries.

* new/builtin.jam: New feature 'find-library'.


[SVN r15966]
2002-10-23 12:12:00 +00:00
Vladimir Prus
bdae1e81eb Honour use-requirements for dependency properties.
[SVN r15964]
2002-10-23 10:39:23 +00:00
Vladimir Prus
cf1d603b1b Fixes.
* new/gcc.jam: gcc.link can handle LIB, not only STATIC-LIB
    * new/generators.jam (composing-generator.run): Accept derived
        types.


[SVN r15942]
2002-10-16 15:51:11 +00:00
Dave Abrahams
9919875526 Some tweaks for getting Boost.Python to build under v2
[SVN r15931]
2002-10-15 12:01:21 +00:00
Vladimir Prus
ea0335ef29 Change handling of toolset -- it's now assumed that there's default toolset
and, therefore, we don't need to treat toolsets in a special way.


[SVN r15927]
2002-10-15 05:55:29 +00:00
Dave Abrahams
9d79510899 Fix EXE extension for NT and CYGWIN.
[SVN r15920]
2002-10-14 15:47:14 +00:00
Dave Abrahams
3abcf86af8 English spelling/grammar fixes
[SVN r15918]
2002-10-14 13:31:10 +00:00
Dave Abrahams
12783fbbae English grammar fixes
[SVN r15917]
2002-10-14 13:30:43 +00:00
Vladimir Prus
4a4bedfbb6 Applied an RPM building patch from Malte Starostik.
* changed boost-jam-3.1.3.src.tar.gz to boost-jam-3.1.3.tar.bz
    * Added a variable RPMARCH to Jamfile.
    * remove the .tar.gz and .tar.bz2 before recreating them. gzip asks for
      confirmation otherwise, bzip2 just dies.
    * Get rid of hardcoded /usr/src/redhat/... as it's a) distribution-specific
      and b) a user can override the build root to use.


[SVN r15916]
2002-10-14 11:14:15 +00:00
Rene Rivera
d708e1b4dd Fix "illegal constant expression" error on CodeWarrior.
[SVN r15907]
2002-10-12 17:02:42 +00:00
Vladimir Prus
9e50b53947 Optimize property.as-path by caching results.
[SVN r15900]
2002-10-11 14:24:26 +00:00
Vladimir Prus
8222a10699 Added 'hello, world' example.
[SVN r15896]
2002-10-11 11:49:35 +00:00
Vladimir Prus
01ee54bfad Minor doc tweak.
[SVN r15863]
2002-10-10 15:45:10 +00:00
Vladimir Prus
23cd6a3ffa Flush all of documentation changes.
[SVN r15860]
2002-10-10 13:47:30 +00:00
Vladimir Prus
d374176afe Kill a warning.
[SVN r15858]
2002-10-10 13:20:43 +00:00
Vladimir Prus
16c30bee97 Forgotten file.
[SVN r15852]
2002-10-10 12:20:19 +00:00
Vladimir Prus
e60af004d1 Add more tests.
[SVN r15851]
2002-10-10 12:12:06 +00:00
Vladimir Prus
93ba07f369 Implement dependendency features.
[SVN r15850]
2002-10-10 11:58:41 +00:00
Vladimir Prus
b55dc66bf3 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
Vladimir Prus
ef5eff03d0 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
12518b72c2 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
585b2f713e 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
b2ed2fe8f5 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
Vladimir Prus
4fdfbd4680 Bugfix.
[SVN r15714]
2002-10-04 15:23:46 +00:00
Vladimir Prus
e3bcf1d1b0 Cleanup.
[SVN r15711]
2002-10-04 14:50:34 +00:00
Vladimir Prus
a7ead880c1 Increase Boost.Jam version to 3.1.3.
[SVN r15710]
2002-10-04 14:25:11 +00:00
Vladimir Prus
43f2565a2d Allow directory part in names of source files.
[SVN r15708]
2002-10-04 13:59:25 +00:00
Vladimir Prus
bba2939592 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
791b5ad620 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
455019d5dc 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
2977f296d2 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
2e9065c102 Cleanups.
[SVN r15651]
2002-10-02 16:13:54 +00:00
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
f2c695ebe8 Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +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