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

4768 Commits

Author SHA1 Message Date
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
f94ffa34e7 (merge from head) 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 r35698]
2006-10-23 16:31:53 +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
19419d4d6f Merge BOOST_BUILD_PCH_ENABLED from trunk
[SVN r35693]
2006-10-22 17:42:19 +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
1e3465217e Merge
[SVN r35691]
2006-10-22 14:16:48 +00:00
Vladimir Prus
f902bf3a6b build/
* generators.jam (add-usage-requirements): New.


[SVN r35690]
2006-10-22 14:15:54 +00:00
Vladimir Prus
f124d82391 Don't include toolset version in libs built with bcb
[SVN r35684]
2006-10-21 10:39:48 +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
22b8e03487 Merge: fix building on windows
[SVN r35658]
2006-10-18 13:04:05 +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
37767bc179 Merge: Improve wording on an error message
[SVN r35650]
2006-10-18 05:41:16 +00:00
Vladimir Prus
622fcf6ed6 Improve wording of an error message.
[SVN r35649]
2006-10-18 05:40:37 +00:00
Rene Rivera
6d10c02ad8 Cleanup format-name docs.
[SVN r35645]
2006-10-17 02:00:56 +00:00
Rene Rivera
c1ff85b55c Cleanup format-name docs.
[SVN r35645]
2006-10-17 02:00:56 +00:00
Rene Rivera
72f544ad7a [merge from head] 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 r35642]
2006-10-16 20:49:17 +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
2c24d9356a Merge from HEAD.
[SVN r35624]
2006-10-16 02:14:38 +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
37691bb348 Merge: Fix comment
[SVN r35621]
2006-10-15 19:06:37 +00:00
Vladimir Prus
4691f3a81c Fix comment
[SVN r35620]
2006-10-15 19:05:45 +00:00
Vladimir Prus
7240a08587 Wholespace merge from HEAD
[SVN r35613]
2006-10-14 21:41:23 +00:00
Vladimir Prus
bc4f5e0dbd Testing fixes from HEAD
[SVN r35610]
2006-10-14 10:46:17 +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
nobody
c9977dc74c This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
[SVN r35598]
2006-10-13 21:34:27 +00:00
Jürgen Hunold
015f283cd9 Merge from Trunk: Fix: Remove suffix_version for QtUiTools.
[SVN r35581]
2006-10-12 18:18:35 +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
73a3444a38 Fix '.' showing up in target paths
[SVN r35546]
2006-10-11 06:45:07 +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
7bc14ad4e4 Merge from head.
[SVN r35527]
2006-10-08 23:57:39 +00:00
Rene Rivera
6a8901a056 Merge from HEAD.
[SVN r35523]
2006-10-07 22:12:20 +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
714864acd8 Fix more python configuration bugs
[SVN r35455]
2006-10-03 13:45:22 +00:00
Dave Abrahams
b6fcbb2254 Fix more python configuration bugs
[SVN r35455]
2006-10-03 13:45:22 +00:00