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

950 Commits

Author SHA1 Message Date
Dave Abrahams
4c496ca33c make the use of msvc-specific features in Jamfiles portable
[SVN r29531]
2005-06-11 19:34:13 +00:00
Dave Abrahams
5c36886ca1 Make sure the Borland Bin directory gets into the PATH when executables built with Borland are run.
[SVN r29522]
2005-06-11 06:47:19 +00:00
Vladimir Prus
27b0e53cde Further generators simplications.
1. If when generating something, we find more that one suitable generators,
   run them and more then one return something, immediately report ambiguity.
   Don't care if the produced targets are the same. This is better that
   running several generators all the time, performance wise.

2. Remove the notion of 'intermediate' virtual-targets. IIRC, they were used
   to prevent staging of RSP files, and we don't stage them anyway now.


[SVN r29491]
2005-06-09 08:12:21 +00:00
Dave Abrahams
d9959968a1 Fix EH feature.
[SVN r29489]
2005-06-09 02:48:32 +00:00
Vladimir Prus
c251de96ce Remove response files in msvc.compile.c++ action.
Relax check for msvc 6.0, so that simple "6" is matched.

Patches from Olaf Janssen.


[SVN r29477]
2005-06-08 14:38:43 +00:00
Vladimir Prus
2487ac20dc Make response files depend on their directories, so that -jN works.
Thanks to Olaf Janssen for the report.


[SVN r29442]
2005-06-06 10:21:41 +00:00
Vladimir Prus
684ba8fca2 Fix response files for borland. Fix "tlib doesn't work if install path has
space" problem.


[SVN r29403]
2005-06-03 12:56:30 +00:00
Vladimir Prus
fe8557180c Fix response file creation. They would not be recrated if exe already
exists.


[SVN r29402]
2005-06-03 12:55:27 +00:00
Dave Abrahams
44c5dff7eb Make response files work
[SVN r29401]
2005-06-03 12:00:35 +00:00
Vladimir Prus
f1a98f8139 Fix typo
[SVN r29373]
2005-06-02 12:04:45 +00:00
João Abecasis
3c284b74c5 Use only 'quickbook' main target from tools/quickbook.
[SVN r29370]
2005-06-02 10:59:29 +00:00
Vladimir Prus
2d83788eff Make sure -fPIC is added when compiling objects declared with the 'obj' rule.
[SVN r29369]
2005-06-02 09:24:24 +00:00
Toon Knapen
2d41235e04 compiler driver for fortran on HPUX
[SVN r29368]
2005-06-02 08:34:04 +00:00
Vladimir Prus
7fda7a55ad Add support for Whale/Dolphin parser/lexer generators.
The toolsets are not very common, but:
1. I use them.
2. I've tied to maintaining this outside V2 CVS.
3. The toolset file is small.


[SVN r29366]
2005-06-02 08:04:40 +00:00
Vladimir Prus
bc5d8f9abc Finally fix darwin's -fcoalesce-templates logic.
Patch from Daniel Heck.


[SVN r29365]
2005-06-02 07:46:25 +00:00
Vladimir Prus
41b9672a82 Improve "linking" of libraries into static libraries.
When a library is present in sources of a static library, return it
to dependents via usage requirements, not by adding it to the list
of created targets.


[SVN r29362]
2005-06-02 07:19:11 +00:00
Vladimir Prus
5a44f04da8 Refactor generators a bit.
* If a generator was given a source it could not handle, it used to return
  that source together with generated targets. This was nice for some use
  cases, but no very nice for others, and this behaviour could not be turned
  off. One use case where it worked bad was:

      lib plugin : plugin.cpp helper ;
      lib helper : helper.cpp ;

  On windows, 'plugin' would link to the 'import library' and pass the DLL
  target though. So, when installing 'plugin', we'd also install 'helper.dll',
  and it was not possible to do anything about it.

* If we asked generators.construct to produce sources of type CPP,
  and the selected generator produced both targets of type CPP, and of
  some other type, we'd try again to convert those other targets to CPP.
  This simply complicated the logic for no good reason.

* Most generator function had 'multiple' parameter, which function
  was long forgotten by anybody.

As a bit of history, I believe some of the above decisions were due to a
certain use case:

          CPP <------- WHL
                          \
                            WD
                          /
          CPP <------- DLP

Here, a source file is converted to two targets with one command, and each
produced file is converted to CPP. Our generators search would notice that
there are two generators for CPP: the WHL->CPP and DPL->CPP
generators. Neither is better that the other so both are tried, and produce
(CPP, DPL) and (CPP, WHL) pairs of targets. To avoid reporting an ambiguity,
we'd try to convert, DLP to CPP and WHL to CPP, do it successfully, notice
that produced targets are the same and decide that there's no ambiguity.

However, this is rather complex logic for a relatively rare case. It can
be handled by writing another WD->CPP generator that would handle
disambiguation itself.

This commit has one user-visible change. The code:

  exe a : a.cpp b ;
  obj b : b.cpp helper;
  lib helper ;

No longer works -- the 'a' target won't link to 'helper'. However, this is
pretty stange code and worked before almost by accident.


[SVN r29361]
2005-06-02 06:43:56 +00:00
Toon Knapen
230ea321b3 use -fPIC option to compile object files that go into a shared library
[SVN r29345]
2005-06-01 14:37:37 +00:00
Vladimir Prus
aa512d2751 Fix rpath setting on intel. I've used undefined SPACE variable.
[SVN r29323]
2005-05-31 14:47:41 +00:00
Vladimir Prus
a7ad78ddf3 Fix static lib suffix on OS X.
Thanks to Pedro Ferreira for the report.


[SVN r29247]
2005-05-27 15:19:58 +00:00
Vladimir Prus
22baee9043 Try to avoid passing -fcoalesce-templates with OSX 10.4, as it's not supported
there.

Based on patch from Craig Rodrigues.


[SVN r29244]
2005-05-27 15:07:07 +00:00
Vladimir Prus
3ae65f5640 Unbreak darwin, after darwin solib suffix was moved to types/lib.jam.
Patch from Craig Rodrigues.


[SVN r29242]
2005-05-27 14:53:08 +00:00
Vladimir Prus
3da085194d Unroll incomplete changes to response files support.
I think that Dave committed then unintentionally in revision 1.36 and they
cause C++ files to be always recompiled. A better version is in the works
but cannot be committed yet, so I'll just restore the previous one for now.


[SVN r29198]
2005-05-26 05:54:16 +00:00
Dave Abrahams
348f90824b This change was required in order to get it to work on my installations.
[SVN r29193]
2005-05-25 19:04:12 +00:00
Dave Abrahams
0d74108229 manifest generation
[SVN r29192]
2005-05-25 19:03:32 +00:00
Vladimir Prus
411d1931dc Remove floatsam.
[SVN r29190]
2005-05-25 14:32:37 +00:00
Vladimir Prus
bb2104ccb6 Fix error when installing with <install-source-root> and source file names
are absolute.


[SVN r29180]
2005-05-25 06:10:23 +00:00
Vladimir Prus
bc159afedb Clarify comments.
[SVN r29179]
2005-05-25 05:55:10 +00:00
Dave Abrahams
a02a2e7018 Made it work with an unmodified CWPro8 installation. Pro9 may still need its setup script tweaked.
[SVN r29174]
2005-05-24 17:13:02 +00:00
Dave Abrahams
3219877dd7 diagnose binding non-const reference to rvalue as a hard error.
[SVN r29173]
2005-05-24 17:11:30 +00:00
Toon Knapen
fdbb4ae754 added capability to handle <fflags>
[SVN r29171]
2005-05-24 15:27:30 +00:00
Dave Abrahams
ed4953f961 Added version-8.0-path to the list of possible-paths; its omission can't possibly have been intentional.
[SVN r29168]
2005-05-24 13:27:02 +00:00
Vladimir Prus
63a403d05c Some commentary.
[SVN r29154]
2005-05-23 06:35:28 +00:00
Toon Knapen
d8a85aca97 xlf compiler has no preprocessing and the -D option is used for soth. else
[SVN r29056]
2005-05-19 06:51:42 +00:00
Toon Knapen
e0b33b5698 port to windows
[SVN r28859]
2005-05-13 10:18:28 +00:00
Vladimir Prus
1ba752ef0a Adjust library suffixes for OSX.
[SVN r28631]
2005-05-03 14:58:24 +00:00
Vladimir Prus
7c853cb61e Clarify comments.
[SVN r28627]
2005-05-03 14:07:36 +00:00
Dave Abrahams
bea3e444d1 Some hacks to make things "work" on Windows. I'm not really sure what
I'm doing, though: this is all black magic, still.


[SVN r28513]
2005-04-28 13:18:52 +00:00
Vladimir Prus
17b369510a Handle spaces in paths.
[SVN r28512]
2005-04-28 13:16:09 +00:00
Vladimir Prus
05967f912f Don't relink exe on CYGWIN.
I believe no dynamic paths are hardcoded in shared libraries, so relinking
is not needed.


[SVN r28511]
2005-04-28 12:31:52 +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
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
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
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
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