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

2124 Commits

Author SHA1 Message Date
Vladimir Prus
ca7a7cd351 Don't ever change target names in virtual-target.clone-action.
At the moment, the rule is used only by 'stage.relink'. In that case, we
just want to relink a target to a different location. The previous
version of clone-action, however, would create file-target with the original
name but without telling that the name is exact, so file-target would add
extension appropriate to the type.

This is only a problem when we relink a type which non-empty extension,
and there are no known uses -- we need relinking only for EXEs on Unix,
and exe extension is empty. But to avoid further problem, I'm fixing this.

This problem manifested itself because on cygwin, we incorrectly tried
to do relinking. This should not do any harm, in fact, only be inefficient,
but instead we got double ".exe" on staged binaries.


[SVN r28510]
2005-04-28 12:28:52 +00:00
Vladimir Prus
4447529606 Fix setting of DLL search path for testing on CYGWIN.
[SVN r28509]
2005-04-28 12:05:22 +00:00
Vladimir Prus
05baf3245d Fix path.glob on cygwin.
It was completely broken with absolute windows paths because /cygdrive
is valid cygwin path, but 'cygdrive' is not shown when listing the '/'
directory.


[SVN r28508]
2005-04-28 08:04:41 +00:00
Rene Rivera
0ed0573dac boostbook.jam; Make it possible to configure where to find boostbook files.
boostbook-config.jam; Find boostbook files using Boost install key.
quickbook-config.jam; Auto config of quickbook tool.


[SVN r28464]
2005-04-25 04:24:04 +00:00
Rene Rivera
834fa0f267 Make the version/variant tag conform to BBv1 behaviour.
[SVN r28439]
2005-04-23 16:36:59 +00:00
Vladimir Prus
d2f1a4d7b3 Handle HOME that contains spaces.
[SVN r28379]
2005-04-21 10:37:58 +00:00
Vladimir Prus
a464abd291 Fix handling of build-dir attribute on windows. We did not correctly
recognize when it was absolute.


[SVN r28378]
2005-04-21 09:23:14 +00:00
Vladimir Prus
ff00d258a6 Mark Jamfile as user module, so that errors.user-error works.
[SVN r28372]
2005-04-21 08:27:42 +00:00
Vladimir Prus
f2787a2a64 Handle more than one testing file in the 'run' rule. Not 100% final
solution, but works for the single case in Boost where it matters.


[SVN r28371]
2005-04-21 08:27:02 +00:00
Rene Rivera
eddde5ea0f Automatic configuration of tools.
[SVN r28351]
2005-04-21 01:12:18 +00:00
Rene Rivera
9ed4ae4d16 Automatic configuration of tools.
[SVN r28348]
2005-04-20 23:23:28 +00:00
Rene Rivera
546f23a071 Automatic configuration of tools.
[SVN r28345]
2005-04-20 20:48:15 +00:00
Vladimir Prus
cc90f76c92 Correctly include names of generating main target in 'duplicate target' error.
Thanks to Alexey Syomichev for the bug report.


[SVN r28319]
2005-04-19 13:45:08 +00:00
Vladimir Prus
80f4b29b8c Make doxygen work even if it's initialized before boostbook.
The doxygen module is not really standalone, it requires Boost.Book XSL
stylesheets, and so needs to get their location from the boostbook module.
Previously, the doxygen.init module would get the stylesheet dir, and if
it's empty, would not declare some generators. So, if doxygen is initialized
before bookstbook, some conversion won't work.

Now, generators are defined in all cases, but when the action is run, we
check that boostbook was initialized.


[SVN r28313]
2005-04-18 07:42:33 +00:00
Vladimir Prus
a6d67a8e64 Fix --build-dir for invocation from subdirs.
[SVN r28237]
2005-04-14 10:53:54 +00:00
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