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

2496 Commits

Author SHA1 Message Date
Jürgen Hunold
d6c1bd7dfd Upgrade to Qt-4.2:
- Add support for QtDBus library.
- Adjust to changes in Qt's build system: No parallel build of debug and release libraries on Unix anymore.
- Remove explicit "<variant>release" requirements for release builds, enabling custom build variants.


[SVN r35809]
2006-11-02 15:15:07 +00:00
Vladimir Prus
d652aa9fab Unbreak multi-element gcc commands
[SVN r35791]
2006-10-30 08:35:33 +00:00
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
da98fd5c48 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
f67cc20757 Output the initialized toolsets when given "--show-configuration" option.
[SVN r35726]
2006-10-24 18:07:50 +00:00
Rene Rivera
3b9a41e48f Adjust to make test pass on Windows.
[SVN r35723]
2006-10-24 16:32:31 +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
e8dcf9ef86 Adjust example
[SVN r35704]
2006-10-23 18:25:02 +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
86b1d73787 Document 'install-source-root' feature
[SVN r35547]
2006-10-11 08:05:31 +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
Vladimir Prus
188d417514 Fix for msvc
[SVN r35533]
2006-10-10 07:48:33 +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
14ca82610d Rearrange docs a bit
[SVN r35521]
2006-10-07 20:09:22 +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
07f64d1f6f Add PCH example.
[SVN r35513]
2006-10-07 10:09:07 +00:00
Vladimir Prus
90f7514eb8 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
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