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
Rene Rivera
251f3b62a0 Fix use of C++ declaration semantics/syntax, in C file. Well Aleksey fixed it already.. So just cleanup the indentation, etc.
[SVN r29257]
2005-05-28 16:02:54 +00:00
Aleksey Gurtovoy
e0dea56553 move definition to the top of the block to make code ANSI C compliant
[SVN r29256]
2005-05-28 15:56:31 +00:00
Dave Abrahams
54e1155fa1 Workaround for vc6 preprocessor bug.
[SVN r29252]
2005-05-27 18:32:23 +00:00
Dave Abrahams
a9c901d25d Finally, a real fix for the spawn problem, I hope.
[SVN r29250]
2005-05-27 17:06:30 +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
Rene Rivera
30692a4049 Fix building of bjam itself after floating options change. Needed to make sure that we eat up the multi arg options if they exist.
[SVN r29239]
2005-05-27 03:48:04 +00:00
Dave Abrahams
0b205d30d3 Eliminate undefined behavior and fix a spelling error.
[SVN r29238]
2005-05-27 03:18:08 +00:00
Rene Rivera
a9e2ffa6a1 Remove restriction that option arguments need to be before target arguments. Options can now be intermixed with targets.
[SVN r29232]
2005-05-26 17:20:32 +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
648a7b2970 Do no call sequence.unique on result of GLOB-RECURSIVELY.
That was an old hack which was only needed in one context -- when we
passed both Jamroot and jamroot as patterns, got back Jamroot and jamroot
(because windows is case-insensitive and reports that both exist), and get
confused.

Calling 'unique' does not harm in most cases, but in Boost Jamfiles we glob
for all headers, and O(n^2) algorithm used by unique considerably slows us.


[SVN r29187]
2005-05-25 13:51:33 +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
cdf5cbe153 Allow the 'source-location' attribute to list several directories.
Patch from Alexander Kabaev and Craig Rodrigues.


[SVN r29164]
2005-05-24 08:57:52 +00:00
Vladimir Prus
4e9af774ce Revamp path.glob.
The problem with the previous implementation is that it would iterate
over all elements in a dir even if 'pattern' had no metacharacters. First,
that was slow -- if you handed

  /cygdrive/w/My Documents/boost/test/a.cpp

to it, it would crawl all the way to the top, listing each directory and
checking each file. Second, it would fail, because Cygwin is broken and
does not show 'cygdrive' is the list of directory elements of '/'.

Now we check if a pattern has metacharacters, and if not, just do
a simple 'timestamp' call.

The new glob is implemented as new 'GLOB-RECURSIVELY' builtin. I've decided
to use builtin since otherwise, we'd need 'does this name exist' builtin,
and if we need new builtin, why don't implement all globbing in core.


[SVN r29163]
2005-05-24 07:57:56 +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
Rene Rivera
f6815f3145 Patch from snaury@narod.ru to fix "a bug in file filent.c' in function file_archscan', which causes long .o files in archives invisible to jam, and thus jam always recompiles such .o files, when using, for instance, mingw".
[SVN r28703]
2005-05-06 23:46:50 +00:00
Vladimir Prus
c54115e466 Remove dead code.
[SVN r28649]
2005-05-04 06:06:34 +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
Rene Rivera
eefe778ebc * Increase version, long overdue.
* Build bjam only by default, instead of all the other misc binaries.
* Implement disabling of splitting of imported variables. Not enable yet.
* Fix 7zip archiver search to work with newest 7z version.


[SVN r28541]
2005-04-30 06:28:38 +00:00
Vladimir Prus
de89d725b9 Allow "bjam hello.o" to work.
[SVN r28514]
2005-04-28 14:14:59 +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
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