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

56 Commits

Author SHA1 Message Date
Rene Rivera
9ef6242538 Add/update copyrights+license (with help of a shell script).
[SVN r35851]
2006-11-05 07:13:39 +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
f67cc20757 Output the initialized toolsets when given "--show-configuration" option.
[SVN r35726]
2006-10-24 18:07:50 +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
Vladimir Prus
9cf28a041e Don't include toolset version in libs built with bcb
[SVN r35684]
2006-10-21 10:39:48 +00:00
Rene Rivera
1f589bcdf5 Cleanup format-name docs.
[SVN r35645]
2006-10-17 02:00:56 +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
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
Vladimir Prus
321dccff1a Fix diagnostic.
[SVN r33621]
2006-04-10 07:22:57 +00:00
Rene Rivera
a5d1abd22f Only show tool not found warnings when dubgging configuration. This is to prevent spurious warnings when trying to set up varied tools and they are not usually available on a given platform.
[SVN r33604]
2006-04-09 07:20:25 +00:00
Rene Rivera
a0b73d1f26 Add RmTemps, which is the really quite version of Clean.
[SVN r33474]
2006-03-26 06:26:01 +00:00
Vladimir Prus
7dc1b9926e - Add comment explaining the reason for "touch" commands.
- Move "file-touch-command" to "common.jam". It already has
 "file-creation-command" so this one will be a good
  companion.

Patch from Alexey Pakhunov.


[SVN r32061]
2005-12-15 18:04:05 +00:00
Vladimir Prus
f8701cd352 Simplify handling of <library-file> feature.
* common.jam (resolve-library-files): Remove
* msvc.jam, cw.jam: Add 'flags' invocation for library-file feature.


[SVN r31918]
2005-12-05 15:18:16 +00:00
Rene Rivera
8cffe6b508 Fixes for QT4, DEF files, etc. from Reece Dunn.
[SVN r31607]
2005-11-09 13:56:41 +00:00
Rene Rivera
4ec8584f39 Apply patch from Reece Dun to remove the generation of response files as targets. But instead use the @() bjam functionality.
[SVN r31562]
2005-11-05 07:46:38 +00:00
Vladimir Prus
cc250ac504 New 'configuration' class, for storing all auto-detected configuration of
tools.

Patch from Alexey Pakhunov.


[SVN r31078]
2005-09-22 13:57:23 +00:00
Vladimir Prus
ef298c5789 New rule common.copy-command
[SVN r30975]
2005-09-14 10:01:23 +00:00
Vladimir Prus
2487ac20dc Make response files depend on their directories, so that -jN works.
Thanks to Olaf Janssen for the report.


[SVN r29442]
2005-06-06 10:21:41 +00:00
Vladimir Prus
fe8557180c Fix response file creation. They would not be recrated if exe already
exists.


[SVN r29402]
2005-06-03 12:55:27 +00:00
Dave Abrahams
44c5dff7eb Make response files work
[SVN r29401]
2005-06-03 12:00:35 +00:00
Toon Knapen
fdbb4ae754 added capability to handle <fflags>
[SVN r29171]
2005-05-24 15:27:30 +00:00
Vladimir Prus
7c853cb61e Clarify comments.
[SVN r28627]
2005-05-03 14:07:36 +00:00
Vladimir Prus
f540e43f20 Small tweak.
* tools/common.jam (handle-options): Allow multi-token command name.


[SVN r28180]
2005-04-12 14:08:11 +00:00
Vladimir Prus
85f1f406e5 For gcc, remove static lib before running 'ar', to avoid old files to
stay in the archive forever.


[SVN r27551]
2005-03-04 10:13:15 +00:00
Dave Abrahams
9e8c227fcf Fix variable-setting-command so it consistently exports across OSes
Removed special substitution behavior for $name as an
overgeneralization

Added prepend-path-variable command as a replacement

Fixed variables to conform to naming convention for module globals


[SVN r27094]
2005-02-04 20:14:54 +00:00
Vladimir Prus
ae5634b7f3 Really fix include paths with spaces.
* util/print.jam: Do not quote the argument to the
  'echo' command on windows. It's special, and does not need quotes.
  Adding them will cause the quotes to always appear in the output,
  which would be different behaviour from Unix.

* tools/common.jam (response-file): Add quotes here.


[SVN r26836]
2005-01-24 15:16:00 +00:00
Vladimir Prus
58566b47bd * tools/common.jam (path-variable-setting-command): Allow to refer to
enviroment variables in the list of values. No it's possible to add
  an element to a variable.
* build/project.jam: Remove obsolete test.
* build/toolset.jam (find-property-subset): No longer local,
  so that test can call it.
* test/test.jam: Import 'print' and 'common'.
* util/print.jam: Comment out failing unit test.


[SVN r26413]
2004-12-03 10:46:05 +00:00
Vladimir Prus
066f260c33 Problem: Long command line problem using msvc toolset on BoostBuild V2
Description: If the number of characters exceeds 2047, the cl command fails.
             Plattform: MSYS shell, VC++ 7.1

Resolution: Using of the response file facility

* tools/msvc.jam
  Change *compile* generators to produce RSP target too.
  Change compile actions to use RSP file
  And compile rules to call common.response-file
* tools/common.jam
  (response-file): Write defines and includes.

Thanks to Johannes Brunen for the patch.


[SVN r26275]
2004-11-23 09:57:33 +00:00
Vladimir Prus
b07ed28f61 Make third 'init' parameter for all toolsets be 'options', so use can
write

   using gcc : ... : ... : <cxxflags>foo <linkflags>bar ;

* tools/common.jam (handle-options): The login for setting the common
options.


[SVN r25767]
2004-10-18 09:57:37 +00:00
Vladimir Prus
4190df6260 * common.jam
(check-tool): Try finding both first and the last element. This avoid
  warning both in the case of "distcc g++", and in case of
  '"set FOO=bar &&" como'.
  (get-invocation-command): Returns the user-specified command even if
  it can't be found anywere. This means user specified command will show
  up in the command line, and even if it fails, it's less confusing than
  command line with no compiler name at all.


[SVN r25765]
2004-10-18 06:55:36 +00:00
Vladimir Prus
ee85342c25 Don't error out when 'PATH', 'Path', or 'path' has empty elements.
[SVN r24889]
2004-09-03 11:20:51 +00:00
Vladimir Prus
789eb0b9a9 Remove bashism -- "export VAR=value" is not supported on other shells.
Patch from Philipp Frauenfelder.


[SVN r23951]
2004-07-22 12:55:27 +00:00
Vladimir Prus
3755927d7a Added Metrowerks toolset, from Reece Dunn.
[SVN r23467]
2004-07-12 15:13:14 +00:00
Vladimir Prus
3aeb5b735b Missing import.
[SVN r23389]
2004-07-07 07:10:26 +00:00
Vladimir Prus
2edef123fa More fixes to common.find-path for case the 'path-last' is true.
[SVN r23388]
2004-07-07 07:03:32 +00:00
Vladimir Prus
8e665161a4 Fix msvc initialization. When version is specified, look in default paths
before looking in PATH.


[SVN r23363]
2004-07-06 07:36:26 +00:00
Vladimir Prus
ad495e4d49 Improve warning message.
[SVN r23259]
2004-06-29 11:09:40 +00:00
Vladimir Prus
581a348dca Allow each toolset to accept multielement command. Each element will be
individually quoted, and check-for-existance will be applied only to
the first element.


[SVN r23246]
2004-06-29 06:21:21 +00:00
Vladimir Prus
7d7ded94c4 New msvc.init.
[SVN r23166]
2004-06-23 09:07:02 +00:00
Vladimir Prus
d8dbd13bd1 * tools/borland.jam (init): Rewrite.
* tools/common.jam (get-absolute-tool-path): New rule.


[SVN r23164]
2004-06-23 08:10:25 +00:00
Vladimir Prus
ab41660e51 Improve initialization of intel and sun compilers.
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
df30228ba8 Make verson parameter to intel-linux.init optional. New rules common.find-tool
and common.check-tool to help autodetect toolsets.


[SVN r23136]
2004-06-21 09:48:39 +00:00
Vladimir Prus
5ea1bb900b Apply cleaner rules for toolset initialization.
* tools/common.jam (check-init-parameters): New rule.
* tools/gcc.jam (init): Make use of the above.
* kernel/errors.jam (user-error): New rule.


[SVN r23084]
2004-06-11 10:54:04 +00:00
Vladimir Prus
427174eaab Use "rm -f" for RM variable on Linux. For now, this does not change much,
but in fugure we can use just $RM inside various actions, instead of testing
for file existance before.

Patch from Michael Stevens.


[SVN r21664]
2004-01-13 09:34:16 +00:00
Vladimir Prus
a6f4a01ce1 Bugfix: RSP files were never recreated.
[SVN r20653]
2003-11-04 17:03:18 +00:00
Vladimir Prus
f9767b2bd7 Refactor the way response files are handled. There are now created by the
rules which create corresponding EXE/LIB targets.

The drawback with the previous approach, where there was a separate generator
for RSP file, was that the list of consumable target types is different,
depending on main target which uses RSP, and it's hard to express this
information.

* tools/builtin.jam
  (response-file): Move to...

* tools/common.jam: Here.

* tools/msvc.jam
* tools/borland.jam
  Split 'link' rule into 'link' and 'link.dll'. Call 'response-file'
  from rules.

* tools/stage.jam
  Fix a bug which cause RSP file to be staged incorrectly.


[SVN r20650]
2003-11-04 16:28:30 +00:00
Vladimir Prus
583bf9fe87 Make 'regression.py' work with msvc.
* tools/builtin.jam
  (exe-target-class.compute-usage-requirements): Pass <dll-path> properties
  as usage requirements.

* tools/testing.jam
  (capture-output): Handle <dll-path> properties.

* tools/common.jam
  (path-variable-setting-command): New rule.


[SVN r20522]
2003-10-28 12:16:10 +00:00
Vladimir Prus
a130972d43 Add "common.file-creation-command" rule, to help in testing.
[SVN r19238]
2003-07-21 05:17:57 +00:00
Vladimir Prus
334c96ac07 * new/common.jam (variable-setting-command): New rule.
[SVN r19027]
2003-07-10 14:07:16 +00:00
Vladimir Prus
a85fd44bb4 Bugfix: quote filenames in actions.
[SVN r18102]
2003-03-27 15:40:07 +00:00