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

1229 Commits

Author SHA1 Message Date
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
Vladimir Prus
2b1d924cdb Don't require Jamfile referred by 'use-project' to declare id equal to
the one specified in 'use-project', or any id at all.


[SVN r26844]
2005-01-25 15:48:52 +00:00
Vladimir Prus
2994c26cd4 Fix dynamic library paths setup on cygwin.
[SVN r26842]
2005-01-25 09:11:55 +00:00
Vladimir Prus
ef5f1c05a0 Prevent auto-adding of suffixes to targets.
[SVN r26838]
2005-01-24 15:46:17 +00:00
Vladimir Prus
5b15a18ae3 * util/path.jam (glob): Call 'set.unique' on the result, to workaround
case-insensitivity of some platforms.


[SVN r26837]
2005-01-24 15:45:07 +00:00
Vladimir Prus
ae5634b7f3 Really fix include paths with spaces.
* util/print.jam: Do not quote the argument to the
  'echo' command on windows. It's special, and does not need quotes.
  Adding them will cause the quotes to always appear in the output,
  which would be different behaviour from Unix.

* tools/common.jam (response-file): Add quotes here.


[SVN r26836]
2005-01-24 15:16:00 +00:00
Vladimir Prus
4584030891 Implement symlinks support for installing shared libraries.
Also fix top-level Boost Jamfile. Seems like V2 can now install Boost.


[SVN r26835]
2005-01-24 14:11:27 +00:00
Vladimir Prus
411ad9eae7 Some renames:
- 'stage' -> 'install'
- 'traverse-dependencies' -> 'install-dependencies'
- 'include-type' -> 'install-type'.


[SVN r26833]
2005-01-24 10:08:07 +00:00
Vladimir Prus
fce9de7e99 Fix handling of <dll-path> in 'stage' rule, which was broken in
the recent commit.


[SVN r26832]
2005-01-24 07:59:11 +00:00
Douglas Gregor
9a2dc195ad Updated BoostBook tools to reflect changes in BBv2
[SVN r26828]
2005-01-24 02:14:15 +00:00
Dave Abrahams
5d72cb67f8 Attempt to fix someone else's bug.
[SVN r26798]
2005-01-22 11:45:46 +00:00
Vladimir Prus
2fbbd67dcb Further 'stage' improvements.
- Fix the 'stage.rename' rule (not versioning yet).
- Don't even try to install searched libs, ever.
- Make top-level Boost Jamfile work.


[SVN r26783]
2005-01-21 16:05:22 +00:00
Vladimir Prus
0a1190e42c Various 'stage' related improvements.
- Require @module.rule syntax for value of the <tag> feature.
- Don't support change of name in 'stage'.
- Cleanup in 'stage'.


[SVN r26782]
2005-01-21 15:03:08 +00:00
Vladimir Prus
c6af745d36 Better reporting of invalid properties.
[SVN r26781]
2005-01-21 14:59:44 +00:00
Vladimir Prus
9836220c83 Refactoring of virtual targets.
- Drop separate 'suffix' field in file targets. Store suffix as part of
  the name' field. This avoids the need to copy the suffix field and the
  name everywhere.
- Do not pass generated targets to constructor of 'action'. Instead,
  pass the acton to constructor of target.


[SVN r26778]
2005-01-21 08:42:51 +00:00
Vladimir Prus
7ece5c82b8 Use proper escaping on windows.
[SVN r26761]
2005-01-20 12:26:36 +00:00
Vladimir Prus
06160e71ef Pass the -ps option when generating PostScript, otherwise we'd create PDF
file with .ps extension.


[SVN r26719]
2005-01-18 07:31:44 +00:00
Douglas Gregor
a796582d92 Fix FOP processing
[SVN r26671]
2005-01-11 03:32:49 +00:00
Dave Abrahams
1095e9b580 Fix typo
[SVN r26616]
2005-01-02 00:39:24 +00:00
Dave Abrahams
e624d928bc Fix typo
[SVN r26615]
2005-01-02 00:35:36 +00:00
Dave Abrahams
3236e4acdc Horrible hacks to work with a FOP that must be invoked from its
installation directory, and with a windows FOP from a Cygwin bjam.


[SVN r26610]
2004-12-30 05:09:21 +00:00
Toon Knapen
5e52e304bf hardcoded path to compiler for the moment
[SVN r26600]
2004-12-29 11:42:24 +00:00
Vladimir Prus
ded834410d Fix a recent regression: <location>. did not work.
[SVN r26598]
2004-12-29 11:04:09 +00:00
Vladimir Prus
29bc552733 Fix a regression in the 'glob' rule -- it is broken with the current bjam.
Handle ".." correctly.


[SVN r26595]
2004-12-28 17:54:35 +00:00
Vladimir Prus
d5540ad62d Fix a bug in error message.
Thanks to Alexey Syomichev for the bug report.


[SVN r26592]
2004-12-28 07:55:01 +00:00
Rene Rivera
0663b6f0b6 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
345bcc3348 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
109366398f Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
17889c132c Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Vladimir Prus
955e6107e4 Fix thereading support on darwin -- don't add -lrt.
Patch from Pedro Ferreira.


[SVN r26585]
2004-12-27 09:23:25 +00:00
Vladimir Prus
1cf9b6fdb6 Bugfix. The '_' var was not defined on the link action, only on link.dll.
[SVN r26584]
2004-12-27 09:07:04 +00:00