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

4209 Commits

Author SHA1 Message Date
Vladimir Prus
1a4eacf99a Implemented the --build-dir option.
[SVN r28236]
2005-04-14 10:34:11 +00:00
Vladimir Prus
d6025c4363 Do not inherit standlone project from user-config.
Since standalone projects can be defined by toolset modules, invoked
from site-config.jam and user-config.jam, inheriting from not yet fully read
modules is tricky. Especially when toolset module is invoked from site-config.
We can't inherit from user-config, if we did not even start to load it!


[SVN r28212]
2005-04-13 11:38:22 +00:00
Vladimir Prus
f540e43f20 Small tweak.
* tools/common.jam (handle-options): Allow multi-token command name.


[SVN r28180]
2005-04-12 14:08:11 +00:00
Vladimir Prus
94379eb9cc New 'project-root' attribute. Needed for --dump-tests.
[SVN r28106]
2005-04-11 12:35:11 +00:00
Vladimir Prus
9cb7cee292 Tweak the generator pruning code that that generators with empty source
type list are considered to accept anything and never pruned.


[SVN r28103]
2005-04-11 11:59:10 +00:00
Vladimir Prus
26c3ff4315 Some further work on Python.
[SVN r28102]
2005-04-11 11:07:07 +00:00
Vladimir Prus
9b49448625 Output library name for --dump-tests.
[SVN r28099]
2005-04-11 10:10:37 +00:00
Vladimir Prus
b386f8d6c1 All projects without explicit root are now children of user-config
and user-config is a child of site-config.


[SVN r28095]
2005-04-11 06:35:08 +00:00
Vladimir Prus
83dafa7488 Don't crash on use of <tag> in directories containing dots.
The <tag> rule if often used in Jamfile like this: <tag>@$(__name__).rule.
The __name__ looks like Jamfile<jamfiles'directory>. When directory has
a dot, we we confused and took the part till the first dot as the
name of module.

Now, such values are processed closer to the definition point, where
we know the name of the module and don't need to guess it by looking at
the name.

Thanks to Juergen Hunold for the bug report.


[SVN r28063]
2005-04-08 13:23:05 +00:00
Vladimir Prus
adf2fa4533 Unbreak path.glob on Windows.
[SVN r28061]
2005-04-08 11:41:47 +00:00
Vladimir Prus
5ed8231d59 Cleanup path.glob and make it handle absolute paths without infinite looping.
[SVN r28018]
2005-04-06 15:27:41 +00:00
Vladimir Prus
d742f38c17 Some comments
[SVN r27982]
2005-04-05 13:37:44 +00:00
Vladimir Prus
e8cbe47cc8 Allow 'using' in Jamfiles to pick up modules in Jamfile's directory.
[SVN r27979]
2005-04-05 12:53:39 +00:00
Vladimir Prus
cae60cdefe Allow multielement list as value for 'constant' and 'path-constant'.
Thanks to Ilia Krustev for bug report and initial patch.


[SVN r27976]
2005-04-05 11:45:59 +00:00
Vladimir Prus
4a811c1a6a We did not do any dependency scanning for C sources.
Thanks to Kelly Burkhart for the report.


[SVN r27954]
2005-04-04 14:09:18 +00:00
Vladimir Prus
52c9343020 Serialize execution of gcc.link.* actions when -j option is specifying.
Executing link actions in parallel hardly speeds up anything.


[SVN r27764]
2005-03-22 08:06:02 +00:00
João Abecasis
52e19b9227 convert \\path\\to/quickbook to native path
[SVN r27728]
2005-03-18 01:03:40 +00:00
João Abecasis
798b9f6c47 respect user's options...
[SVN r27676]
2005-03-15 20:01:04 +00:00
João Abecasis
2c39e09613 simplified toolset for better maintainability.
o removed get-quickbook-command mammoth
    o 'using quickbook ;' is no longer required (import suffices)


[SVN r27675]
2005-03-15 18:28:16 +00:00
Toon Knapen
fc44d107f6 Add support for HP/aCC compiler
[SVN r27639]
2005-03-14 10:37:36 +00:00
Vladimir Prus
23c772bad5 Change tree installing. Replace preserve-path feature with a
install-source-root feature which specifies the base path to which all
paths are relative.


[SVN r27592]
2005-03-10 09:47:37 +00:00
Vladimir Prus
08b10e27c8 Introduce a new property, preserve-path, which can be used to make the
'install' rule preserve relative paths of sources when installing them.


[SVN r27587]
2005-03-09 09:08:27 +00:00
Pedro Ferreira
bbb4a0449f Updated inadvertently.
[SVN r27567]
2005-03-07 20:27:00 +00:00
Pedro Ferreira
ac8323f2b6 Changed generators so that they now receive only an id of a rule, not the rule itself.
Added basic support for darwin.


[SVN r27566]
2005-03-07 20:22:39 +00:00
Vladimir Prus
17fbf80396 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Vladimir Prus
85f1f406e5 For gcc, remove static lib before running 'ar', to avoid old files to
stay in the archive forever.


[SVN r27551]
2005-03-04 10:13:15 +00:00
João Abecasis
3be0955831 remove infinite recursion on [ path.glob : <absolute-path> ]
[SVN r27527]
2005-03-01 16:20:42 +00:00
João Abecasis
b4bf5648c8 add <implicit-dependencies> to xsltproc search paths.
[SVN r27403]
2005-02-16 12:16:21 +00:00
Vladimir Prus
e38d3df128 More work on Boost.Python. Most tests now pass on Linux.
[SVN r27387]
2005-02-15 12:10:09 +00:00
Vladimir Prus
cf407805f7 Fix BB82 (toolset.using breaks Jamfiles).
* build/toolset.jam (using): Move to...

* build/project.jam (_using): ... here.

  (project-context.using, import): New rules that restore the
  .current-project variable properly.


[SVN r27382]
2005-02-15 07:48:13 +00:00
Vladimir Prus
97e91c8e3f Tweak computation of target names from source names.
* build/generators.jam
  (generator.generated-targets): Comment the desired semantics.

* util/utility.jam
  (basename): Take the part till the last dot, not the first.


[SVN r27374]
2005-02-14 08:25:07 +00:00
Rene Rivera
8e50f69670 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Dave Abrahams
53673a2985 test/regression.py
tools/testing.jam

  Support rules for measuring timing of build steps.

build/generators.jam

  Generators with empty source lists can now consume any target type.


[SVN r27335]
2005-02-12 20:24:07 +00:00
Dave Abrahams
72a5e80e64 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00
Vladimir Prus
6f47f788f1 Minir cleanpus.
* build/generators.jam (generator.__init__): Don't handle '*' target type.
  (register-standard): Allow zero source types.


[SVN r27322]
2005-02-11 15:17:16 +00:00
João Abecasis
9f5dee8ec3 Removing bug-ridden split-word...
[SVN r27321]
2005-02-11 03:12:36 +00:00
Vladimir Prus
27938665ac Cleanup generators interaction with derived types.
Say we have PYTHON_EXTENSION type derived from SHARED_LIB, and
no generators are explicitly defined for PYTHON_EXTENSION. We would
like to inherit generators for the SHARED_LIB type. The previous
code would run a generator for SHARED_LIB type. Since it will produce
a target of type SHARED_LIB, after calling the generator the type of target
was "fixed" to PYTHON_EXTENSION.

This was unly. Also, the <tag> functionality did no work as expected --
it would compute the name of python extensions as if they were a regular
libraries.

Now, when we try to generate PYTHON_EXTENSION, we clone generators
for SHARED_LIB and change SHARED_LIB to PYTHON_EXTENSION in the generator's
list of target type.

* build/generators.jam
  (generator.clone-and-change-target-type): New method.
  (base-to-derived-type-conversion): Remove.
  (find-viable-generators-aux): First find a type which has
   any generators defined, then match generators against property
   set.

* build/virtual-target.jam
  (abstract-file-target.set-type): Remove.


[SVN r27270]
2005-02-09 11:51:33 +00:00
João Abecasis
e3eadac0fc typo was causing catalog to be ignored
[SVN r27268]
2005-02-09 04:45:00 +00:00
João Abecasis
fc9b489cd0 Don't use non-EXE targets as quickbook executable
[SVN r27267]
2005-02-09 04:43:45 +00:00
João Abecasis
ce7f0acd7c Having .xsltproc used by xslt and xslt-dir, requires dirname to be optional.
[SVN r27233]
2005-02-08 04:25:36 +00:00
João Abecasis
432ad768a1 initial version of quickbook toolset
[SVN r27231]
2005-02-08 03:41:16 +00:00
Dave Abrahams
1cc643b939 General system for get-xxxx() constants implemented
[SVN r27099]
2005-02-04 20:20:08 +00:00
Dave Abrahams
a92efc132a Factored out egregious code duplication
[SVN r27098]
2005-02-04 20:18:33 +00:00
Dave Abrahams
e286abf612 Fix the way paths are adjusted for Cygwin
[SVN r27097]
2005-02-04 20:17:49 +00:00
Dave Abrahams
6da2771448 Factored out code duplication
Fixed windows FOP detection


[SVN r27096]
2005-02-04 20:16:51 +00:00
Dave Abrahams
974886ee77 Use prepend-path-variable-command
[SVN r27095]
2005-02-04 20:15:53 +00:00
Dave Abrahams
9e8c227fcf Fix variable-setting-command so it consistently exports across OSes
Removed special substitution behavior for $name as an
overgeneralization

Added prepend-path-variable command as a replacement

Fixed variables to conform to naming convention for module globals


[SVN r27094]
2005-02-04 20:14:54 +00:00
Dave Abrahams
f51cf06fa9 Fix a typo
[SVN r27091]
2005-02-04 16:20:33 +00:00
Vladimir Prus
9802d38cfd Allow
lib z jpeg : : <search>x ;

to work. Previously, this would complain that you specify requirements
together with multiple names.


[SVN r27059]
2005-02-03 15:32:56 +00:00
Dave Abrahams
5c0ac03167 add missing docutils, docutils-html features
[SVN r26861]
2005-01-27 12:01:11 +00:00