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

3331 Commits

Author SHA1 Message Date
Rene Rivera
025df84f89 Restore BBv1 install functionality of installing to c:/Boost by default.
[SVN r35761]
2006-10-28 15:22:17 +00:00
Vladimir Prus
ad5521485b Unbreak compile.c++.pch: Use -TP not -TC
[SVN r35750]
2006-10-26 09:10:55 +00:00
Rene Rivera
ebab11cba0 Limit the flavor to certain toolsets. For now only MinGW.
[SVN r35745]
2006-10-25 19:43:35 +00:00
Rene Rivera
94e2af7680 Fix guard for autodetect of command version and flavor.
[SVN r35743]
2006-10-25 14:25:05 +00:00
Rene Rivera
4c423da9b6 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
840439f061 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
177744f40d A variety of changes to make most tests pass on Windows (with mingw):
* BoostBuild.py; Make the matching of content and files be more loose and use pattern globbing of toolset names.
* glob.py/project_glob.py; Rename to avoid collision with builtin Python module.
* all; Update copyrights and license info.


[SVN r35729]
2006-10-24 23:25:19 +00:00
Rene Rivera
5e4b178fa6 Output the initialized toolsets when given "--show-configuration" option.
[SVN r35726]
2006-10-24 18:07:50 +00:00
Rene Rivera
6af6757f16 Adjust to make test pass on Windows.
[SVN r35723]
2006-10-24 16:32:31 +00:00
Rene Rivera
b420e36c09 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
79ae334778 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
b56d2d0b55 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
5b6bd00e4f Remove now outdated stage renaming of targets, moved to common.jam.
[SVN r35713]
2006-10-23 23:57:42 +00:00
Vladimir Prus
4c76b3426a Use -Winvalid-pch
[SVN r35710]
2006-10-23 19:02:12 +00:00
Vladimir Prus
e8cd176686 Set BOOST_BUILD_PCH_ENABLED when compiling PCH itself.
[SVN r35709]
2006-10-23 18:47:43 +00:00
Vladimir Prus
7c84cfaebb Adjust example
[SVN r35704]
2006-10-23 18:25:02 +00:00
Vladimir Prus
dafa90ab73 Followup fix
[SVN r35702]
2006-10-23 18:22:21 +00:00
Vladimir Prus
9b5aca5a9d * 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
bf3ddc766e 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
410718da92 Automatically set BOOST_BUILD_PCH_ENABLED when pch is enabled.
[SVN r35692]
2006-10-22 17:41:31 +00:00
Vladimir Prus
f902bf3a6b build/
* generators.jam (add-usage-requirements): New.


[SVN r35690]
2006-10-22 14:15:54 +00:00
Vladimir Prus
a25d3f1288 Don't include toolset version in libs built with bcb
[SVN r35684]
2006-10-21 10:39:48 +00:00
Vladimir Prus
af6408109b 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
622fcf6ed6 Improve wording of an error message.
[SVN r35649]
2006-10-18 05:40:37 +00:00
Rene Rivera
c1ff85b55c Cleanup format-name docs.
[SVN r35645]
2006-10-17 02:00:56 +00:00
Rene Rivera
b0516f69f0 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
66310027be 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
4ed8788aff 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
4691f3a81c Fix comment
[SVN r35620]
2006-10-15 19:05:45 +00:00
Vladimir Prus
66f44a1253 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
5119882456 build/
* generators.jam (construct): Remove the 'allowed-type' parameter.
	Adjust other files.


[SVN r35608]
2006-10-14 10:37:54 +00:00
Vladimir Prus
0dab97ab91 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
2f1f6190ff 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
cbbe68579f 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
806868ce2e Fix: Remove suffix_version for QtUiTools.
[SVN r35575]
2006-10-12 14:13:38 +00:00
Vladimir Prus
39233c7c9a Document 'install-source-root' feature
[SVN r35547]
2006-10-11 08:05:31 +00:00
Vladimir Prus
c3c1e63780 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
fe40b02b29 tools/
* pch.jam: (pch-generator.run): Really fail when
	not used at top-level.


[SVN r35544]
2006-10-11 06:38:22 +00:00
Vladimir Prus
0ebd162541 Fix for msvc
[SVN r35533]
2006-10-10 07:48:33 +00:00
Rene Rivera
6a9aac8a79 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
e7657608f4 Support the slower order stable sequence.unique with an extra flag argument.
[SVN r35522]
2006-10-07 22:05:03 +00:00
Vladimir Prus
618a4bfdf2 Rearrange docs a bit
[SVN r35521]
2006-10-07 20:09:22 +00:00
Vladimir Prus
dffc92138b 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
8843823a1c Missing import
[SVN r35514]
2006-10-07 12:38:50 +00:00
Vladimir Prus
fa61b68c56 Add PCH example.
[SVN r35513]
2006-10-07 10:09:07 +00:00
Vladimir Prus
1d1ab035c1 Test for PCH
* BoostBuild.py (Tester.copy_preserving_timestap): New.
	* pch.py: New.
	* test_all.py: Register pch.py on gcc.


[SVN r35512]
2006-10-07 10:08:19 +00:00
Vladimir Prus
c9f08718a9 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
Vladimir Prus
f76acdeb42 Revive nightly build
[SVN r35502]
2006-10-06 07:21:36 +00:00
Dave Abrahams
b6fcbb2254 Fix more python configuration bugs
[SVN r35455]
2006-10-03 13:45:22 +00:00
Dave Abrahams
2f92974d99 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