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

4209 Commits

Author SHA1 Message Date
Vladimir Prus
557f48d76f Ugly trick to handle <runtime-debugging> like in V1
[SVN r35769]
2006-10-28 19:23:12 +00:00
Rene Rivera
d5cf518648 Restore BBv1 install functionality of installing to c:/Boost by default.
[SVN r35761]
2006-10-28 15:22:17 +00:00
Vladimir Prus
1ef37f2e80 Unbreak compile.c++.pch: Use -TP not -TC
[SVN r35750]
2006-10-26 09:10:55 +00:00
Rene Rivera
aa3962bfc5 Limit the flavor to certain toolsets. For now only MinGW.
[SVN r35745]
2006-10-25 19:43:35 +00:00
Rene Rivera
2a701e9de3 Fix guard for autodetect of command version and flavor.
[SVN r35743]
2006-10-25 14:25:05 +00:00
Rene Rivera
0b6c1bb755 Use the passed in command instead of a fixed one to account for custom and versioned commands. Thanks to Jurge Hunold for the report/patch.
[SVN r35741]
2006-10-25 12:51:05 +00:00
Rene Rivera
5d66e5697b Add detection of gcc compiler flavor so that we can correctly tag generated libraries to not conflict with each other.
[SVN r35733]
2006-10-24 23:43:08 +00:00
Rene Rivera
f67cc20757 Output the initialized toolsets when given "--show-configuration" option.
[SVN r35726]
2006-10-24 18:07:50 +00:00
Rene Rivera
40b0f5ed91 Adjust unit tests to pass, to account for some results not being order-stable.
[SVN r35720]
2006-10-24 16:03:22 +00:00
Rene Rivera
8e287a2735 Add result-equal test which passes when the expected and result have the same elements.
[SVN r35718]
2006-10-24 15:59:10 +00:00
Rene Rivera
349952599c Add MinGW tag from BBv1 (mgw) when the gcc flavor indicates it's the MinGW compiler.
[SVN r35715]
2006-10-24 04:15:26 +00:00
Rene Rivera
abd8cdcc47 Remove now outdated stage renaming of targets, moved to common.jam.
[SVN r35713]
2006-10-23 23:57:42 +00:00
Vladimir Prus
c316268127 Use -Winvalid-pch
[SVN r35710]
2006-10-23 19:02:12 +00:00
Vladimir Prus
db4f3cacf9 Set BOOST_BUILD_PCH_ENABLED when compiling PCH itself.
[SVN r35709]
2006-10-23 18:47:43 +00:00
Vladimir Prus
3d61766cfa Followup fix
[SVN r35702]
2006-10-23 18:22:21 +00:00
Vladimir Prus
913bc2cadc * msvc.jam (msvc-pch-generator.run-pch): Accept
any number of sources. Don't error out if no .cpp
	file found in sources.
	(compile-c-c++-pch-s): Copied from compile-c-c++-pch.
	(compile-c-c++-pch): Generate temporary .cpp file.
	(compile.c.pch): Forward to compile-c-c++-pch-s or
	compile-c-c++-pch depending on presense of PCH_SOURCE.
	(compile.c++.pch): Likewise.


[SVN r35699]
2006-10-23 18:17:44 +00:00
Rene Rivera
1302f61cef Add "USERPROFILE" dir to user directories so that when the other HOME related vars don't point to the usual Windows location the user-config.jam can still be found. This fixes running from non-CMD shells, like the MinGW MSYS shell.
[SVN r35697]
2006-10-23 16:30:38 +00:00
Vladimir Prus
7498325549 Automatically set BOOST_BUILD_PCH_ENABLED when pch is enabled.
[SVN r35692]
2006-10-22 17:41:31 +00:00
Vladimir Prus
99000ba15b build/
* generators.jam (add-usage-requirements): New.


[SVN r35690]
2006-10-22 14:15:54 +00:00
Vladimir Prus
9cf28a041e Don't include toolset version in libs built with bcb
[SVN r35684]
2006-10-21 10:39:48 +00:00
Vladimir Prus
2e6d0c4a09 Fix building on Windows.
tools/
	* builtin.jam: linking-generator.run (Return nothing
	if it failed).


[SVN r35657]
2006-10-18 13:02:31 +00:00
Vladimir Prus
cd44da9fc3 Improve wording of an error message.
[SVN r35649]
2006-10-18 05:40:37 +00:00
Rene Rivera
1f589bcdf5 Cleanup format-name docs.
[SVN r35645]
2006-10-17 02:00:56 +00:00
Rene Rivera
93cd350f59 Add exclusion patterns to glob-tree to allow for exclusing things like CVS directories from scanning. This fixes the problem of invalid/unknown target for those dirs when they are hidden as they get returned as files instead of dirs by the OS. Also updated copyright and license info.
[SVN r35641]
2006-10-16 20:43:26 +00:00
Rene Rivera
78806fafd3 Fix some bugs in the common format-name functionality, and add some documentation.
[SVN r35623]
2006-10-16 02:11:02 +00:00
Rene Rivera
4a8bdad554 Make extensions project not be standalone, and to inherit from the enclosing project. So that they use the build location, and properties of the context project.
[SVN r35622]
2006-10-16 02:08:34 +00:00
Vladimir Prus
85fff6225e Fix comment
[SVN r35620]
2006-10-15 19:05:45 +00:00
Vladimir Prus
349d1deea0 tools/
* python.jam (python-test-generator.run): Set dependency
	on other python sources only for the result, not for
	extension module.
	Set ARGS variable on capture-output.


[SVN r35609]
2006-10-14 10:45:31 +00:00
Vladimir Prus
b5d2720137 build/
* generators.jam (construct): Remove the 'allowed-type' parameter.
	Adjust other files.


[SVN r35608]
2006-10-14 10:37:54 +00:00
Vladimir Prus
3b4cca1b35 Improve the hanling of "inline" targets, like:
alias foo : [ run a.cpp ] ;

and

	exe main : main.cpp [ lib helpers : helpers.cpp ] ;

Now inline targets are marked explicit, so that they are not
build unless requested, and for the alias target, the names
of inline targets are not qualified by the name of top-level target.

	build/
	* alias.jam (alias): Pass 'no-renaming' to
	target.main-target-sources.
	* target.jam (main-target-sources): New parameter
	'no-renaming'. Make inline target explicit.
	* builtin.jam (lib): Declare 'result' variable,
	to avoid implicit declaration of a global one.

	tools/
	* testing.jam (test-suite): Make synonymous with 'alias'.

	test/
	* inline.py: Adjust to the fact that alias no longer
	changes names of inline targets. Check that inline
	targets are explicit.


[SVN r35607]
2006-10-14 10:28:03 +00:00
Vladimir Prus
b933fc2657 Fix a problem with compilation options being sometimes ignored
when generating PCH. When an action generated two targets, target
variables must be set on both, on just on the first one.
Patch from Franz Schnyder.

	tools/
	* msvc.jam (compile.c++): Call get-rspline on all 'targets',
	to implicitly verify there's just one element.
	(compile.c.pch): Call get-rspline on all targets.
	(compile.c++.pch): Likewise.


[SVN r35605]
2006-10-14 08:26:13 +00:00
Vladimir Prus
b3d09c6a2e Make gcc's PCH generator ignore the cpp sources, so that
cpp-pch pch : pch.hpp pch.cpp ;

work both on gcc and msvc.


[SVN r35604]
2006-10-14 08:17:47 +00:00
Jürgen Hunold
0aac7f9e67 Fix: Remove suffix_version for QtUiTools.
[SVN r35575]
2006-10-12 14:13:38 +00:00
Vladimir Prus
9232e22b24 Fix boost install. Thanks to Tiziano Mueller for the bug report.
tools/
	* stage.jam (copy-file): Use 'path.root' instead of
	jam primitives to avoid "." element showing up in
	path and blowing up 'mkdir'.


[SVN r35545]
2006-10-11 06:43:12 +00:00
Vladimir Prus
7e1beb4dab tools/
* pch.jam: (pch-generator.run): Really fail when
	not used at top-level.


[SVN r35544]
2006-10-11 06:38:22 +00:00
Rene Rivera
88d33e139a Make the variant and toolset tag logic common. Add generic tag formating rule that can be used from specific tag rules to generate a variety of target names.
[SVN r35529]
2006-10-09 04:26:41 +00:00
Rene Rivera
d96a798e06 Support the slower order stable sequence.unique with an extra flag argument.
[SVN r35522]
2006-10-07 22:05:03 +00:00
Vladimir Prus
99e5323e3a build/
* generators.jam (try-one-generator-really): If generator
	returns a property set but no targets, consider it a success.


[SVN r35520]
2006-10-07 19:11:03 +00:00
Vladimir Prus
425c00bb98 Missing import
[SVN r35514]
2006-10-07 12:38:50 +00:00
Vladimir Prus
76d041d7c1 Implement precompiled headers on gcc and improve same on msvc.
Notable changes:
1. There's no need to cast header to the PCHHEADER type.
2. There are two separate type "C_PCH" and "CPP_PCH", that
use C and C++ compilation respectively.

Most of the patch sumbitted by Ilya Sokolov.

	tools/
	* builtin.jam (class dummy-generator): New.
	* gcc.jam: Override extension of the PCH type.
	(class gcc-pch-generator): New.
	Register generators for C_PCH and CPP_PCH.
	(compile.c++.pch, compile.c.pch): New.
	* msvc.jam (class msvc-pch-generator): New.
	Register generators for C_PCH and CPP_PCH.
	* pch.jam: Remove 'PCHHEADER' type.
	(pch-generator): Fail unlress it's used at top-level
	generator.
	Register catch-all produce-nothing generators for PCH-less
	toolsets.


[SVN r35508]
2006-10-07 09:31:19 +00:00
Dave Abrahams
5df7fec847 Fix more python configuration bugs
[SVN r35455]
2006-10-03 13:45:22 +00:00
Dave Abrahams
664ab23ef5 Fix bug in the generation of the path to the python binary for unix.
Also make the comments clearer.


[SVN r35442]
2006-10-02 15:14:48 +00:00
Rene Rivera
ccf282a199 Fix incorrect macro def.
[SVN r35433]
2006-09-30 19:11:04 +00:00
Vladimir Prus
1e8ca8e8cc Add comment
[SVN r35430]
2006-09-30 09:30:46 +00:00
Dave Abrahams
1950136df4 Stop generating illegal argumentless -F option in the link line.
[SVN r35402]
2006-09-28 22:27:50 +00:00
Dave Abrahams
7ff406cb6b Correctly report python library path
[SVN r35391]
2006-09-28 17:15:52 +00:00
Dave Abrahams
67a8f7ed2b Attempt to get tests linking on OSF again by adding missing -lz.
Strip out loads of detritus.


[SVN r35390]
2006-09-28 17:13:35 +00:00
K. Noel Belcourt
f7799d2c01 Add this option to vacpp when building bjam (-bmaxdata:0x40000000).
This option increases the amount of heap / stack space available
to bjam when it runs.  By default on IBM SP2 clusters, the available
stack is limited to 256 Mb which is insufficient for building larger
applications.

-bmaxdata=<num>
  Sets the maximum size of the area shared by the
  static data (both initialized and uninitialized)
  and the heap to <num> bytes.  The default is
  -bmaxdata=0.


[SVN r35323]
2006-09-25 21:48:04 +00:00
Douglas Gregor
6700290a3e Fix linking of libboost_python on Mac OS X
[SVN r35307]
2006-09-24 12:36:22 +00:00
Vladimir Prus
8ff5ae8422 Add comment
[SVN r35303]
2006-09-24 09:40:40 +00:00