Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
12a8ce081c Robustify the var_defined function -- don't crash if variable value is a
single quote.

Patch from Lewis Hyatt.


[SVN r31119]
2005-09-26 05:26:14 +00:00
Vladimir Prus
6a56419367 Introduce the 'msvc.configure' rule that will be used as part
of the 'toolset.configure' framework. The new rule supports two special
version values:

- 'all': configures all detected versions of Visual C++ with default
settings;
- 'default': configure the default detected version of  Visual C++. It
prefers newer versions to older ones.

'msvc.init' is still completely valid and should be used until
'toolset.configure' will be introduced. 'msvc.init' provides the same
functionality as 'msvc.configure' does.

Patch from Alexey Pakhunov.


[SVN r31093]
2005-09-23 14:17:59 +00:00
Vladimir Prus
864060609a Introduce the 'msvc.configure' rule that will be used as part
of the 'toolset.configure' framework. The new rule supports two special
version values:

- 'all': configures all detected versions of Visual C++ with default
settings;
- 'default': configure the default detected version of  Visual C++. It
prefers newer versions to older ones.

'msvc.init' is still completely valid and should be used until
'toolset.configure' will be introduced. 'msvc.init' provides the same
functionality as 'msvc.configure' does.

Patch from Alexey Pakhunov.


[SVN r31093]
2005-09-23 14:17:59 +00:00
Vladimir Prus
98d3953ec3 Fix typo
[SVN r31090]
2005-09-23 10:26:52 +00:00
Vladimir Prus
13df8c4bdd Fix typo
[SVN r31090]
2005-09-23 10:26:52 +00:00
Vladimir Prus
e228aa5c9b Add ASM -> OBJ generator registration that was omitted from the previous
patch by mistake.


[SVN r31085]
2005-09-23 05:36:55 +00:00
Vladimir Prus
3a2c66c9ce Add ASM -> OBJ generator registration that was omitted from the previous
patch by mistake.


[SVN r31085]
2005-09-23 05:36:55 +00:00
Dave Abrahams
4f2b49237f Clarify dependent/dependency
[SVN r31081]
2005-09-22 16:39:36 +00:00
Dave Abrahams
595a1058f8 Clarify dependent/dependency
[SVN r31081]
2005-09-22 16:39:36 +00:00
Vladimir Prus
a95a91eb87 Make W32_GETREG work on cygwin.
Patch from Alexey Pakhunov.


[SVN r31079]
2005-09-22 14:52:05 +00:00
Vladimir Prus
465951075a Make W32_GETREG work on cygwin.
Patch from Alexey Pakhunov.


[SVN r31079]
2005-09-22 14:52:05 +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
9c721c5b3e 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
5200152414 Add assembler support for msvc toolset.
Patch from Reece Dunn.


[SVN r31077]
2005-09-22 13:51:58 +00:00
Vladimir Prus
17a84a5968 Add assembler support for msvc toolset.
Patch from Reece Dunn.


[SVN r31077]
2005-09-22 13:51:58 +00:00
Vladimir Prus
e5e27dd63a Edits in the "Project Hierarchies" section.
[SVN r31072]
2005-09-21 15:07:35 +00:00
Vladimir Prus
eabab4fc06 Edits in the "Project Hierarchies" section.
[SVN r31072]
2005-09-21 15:07:35 +00:00
Vladimir Prus
87912f3d6b Edits in "Conditions and alternatives" section.
[SVN r31071]
2005-09-21 14:43:44 +00:00
Vladimir Prus
8335fb2851 Edits in "Conditions and alternatives" section.
[SVN r31071]
2005-09-21 14:43:44 +00:00
Vladimir Prus
a9a071c292 Apply edits from Dave.
[SVN r31070]
2005-09-21 14:11:14 +00:00
Vladimir Prus
238f1c9068 Apply edits from Dave.
[SVN r31070]
2005-09-21 14:11:14 +00:00
Vladimir Prus
0d37a29c46 Document <warnings> and <warnings-as-errors> features.
[SVN r31069]
2005-09-21 13:52:41 +00:00
Vladimir Prus
8276c09eac Document <warnings> and <warnings-as-errors> features.
[SVN r31069]
2005-09-21 13:52:41 +00:00
Vladimir Prus
c888bb5647 New features <warning> and <warnings-as-errors>.
Patch from Reece Dunn.


[SVN r31068]
2005-09-21 13:44:06 +00:00
Vladimir Prus
b49d4311d0 New features <warning> and <warnings-as-errors>.
Patch from Reece Dunn.


[SVN r31068]
2005-09-21 13:44:06 +00:00
Vladimir Prus
934e8eee9a Robostify
[SVN r31067]
2005-09-21 13:41:48 +00:00
Vladimir Prus
fa55fb35dc Robostify
[SVN r31067]
2005-09-21 13:41:48 +00:00
Vladimir Prus
d815dcb576 Minor comment tweak
[SVN r31066]
2005-09-21 13:41:08 +00:00
Vladimir Prus
c93b57cef2 Minor comment tweak
[SVN r31066]
2005-09-21 13:41:08 +00:00
Vladimir Prus
13d2863302 Remove assert that never triggered and only slows us down.
[SVN r31056]
2005-09-20 13:46:05 +00:00
Vladimir Prus
3e2906798a Remove assert that never triggered and only slows us down.
[SVN r31056]
2005-09-20 13:46:05 +00:00
Vladimir Prus
ce8531a535 Optimize scanner construction. Instead of calling property.select on raw
properties list for each file, use a cache keyed by property-set instance.


[SVN r31055]
2005-09-20 13:11:47 +00:00
Vladimir Prus
32c629f4ac Optimize scanner construction. Instead of calling property.select on raw
properties list for each file, use a cache keyed by property-set instance.


[SVN r31055]
2005-09-20 13:11:47 +00:00
Vladimir Prus
98136f2905 Optimize virtual-target.register for the case of many identically named
targets. In that case, we used to create a long list of targets and searched
it whenever new target is registered. Now the list is for each path/name
combination, so is much shorter.


[SVN r31054]
2005-09-20 12:55:56 +00:00
Vladimir Prus
f2a0ea9dec Optimize virtual-target.register for the case of many identically named
targets. In that case, we used to create a long list of targets and searched
it whenever new target is registered. Now the list is for each path/name
combination, so is much shorter.


[SVN r31054]
2005-09-20 12:55:56 +00:00
Vladimir Prus
e0431548f5 Allow to specify feature without value in condition for toolset.flags call.
Patch from Alexey Pakhunov.

What this patch does is allows to match absense of optional feature in
the 'flags' rule. For example:

  flags msvc .SETUP <architecture>/<address-model>64   : " x86_amd64" ;
  flags msvc .SETUP <architecture>ia64/<address-model> : " x86_ia64" ;

This will produce "x86_amd64" when the <address-model> is set to 64
and <architecture> is not set. Likewise, for <architecture>ia64 and unset
address model.

Without this patch, we'd have two choices:

  - adding 'default' to the list of feature values. But that would
    add 'architecture-default' to the target path. Ick!

  - creating top-level variable .SETUP with default value, and only
    matching configurations with fully-specified feature values. But
    this won't handle the case above: we really need to check
    which one of two features is unspecified.


[SVN r31036]
2005-09-19 09:03:34 +00:00
Vladimir Prus
c5d034f94c Allow to specify feature without value in condition for toolset.flags call.
Patch from Alexey Pakhunov.

What this patch does is allows to match absense of optional feature in
the 'flags' rule. For example:

  flags msvc .SETUP <architecture>/<address-model>64   : " x86_amd64" ;
  flags msvc .SETUP <architecture>ia64/<address-model> : " x86_ia64" ;

This will produce "x86_amd64" when the <address-model> is set to 64
and <architecture> is not set. Likewise, for <architecture>ia64 and unset
address model.

Without this patch, we'd have two choices:

  - adding 'default' to the list of feature values. But that would
    add 'architecture-default' to the target path. Ick!

  - creating top-level variable .SETUP with default value, and only
    matching configurations with fully-specified feature values. But
    this won't handle the case above: we really need to check
    which one of two features is unspecified.


[SVN r31036]
2005-09-19 09:03:34 +00:00
Vladimir Prus
9cf5bcdf29 Revive the project_test3 test.
[SVN r31035]
2005-09-19 08:49:50 +00:00
Vladimir Prus
2b56b3434f Revive the project_test3 test.
[SVN r31035]
2005-09-19 08:49:50 +00:00
Vladimir Prus
56b71cd883 On, windows, don't delete a static library if it does not exists.
The "del" command does not have a switch to prevent warning if file
does not exists, so need extra shell magic.


[SVN r31034]
2005-09-19 08:14:37 +00:00
Vladimir Prus
665d0b55dd On, windows, don't delete a static library if it does not exists.
The "del" command does not have a switch to prevent warning if file
does not exists, so need extra shell magic.


[SVN r31034]
2005-09-19 08:14:37 +00:00
Vladimir Prus
1b0cc6b491 Add the "ui_" prefix to the header the uic generates, to match
qmake's behaviour.

Thanks to Ryan Winter for the hint.


[SVN r31033]
2005-09-19 07:48:36 +00:00
Vladimir Prus
ec673c840f Add the "ui_" prefix to the header the uic generates, to match
qmake's behaviour.

Thanks to Ryan Winter for the hint.


[SVN r31033]
2005-09-19 07:48:36 +00:00
João Abecasis
613404e725 typo
[SVN r31025]
2005-09-18 17:32:01 +00:00
João Abecasis
ec70d686d5 typo
[SVN r31025]
2005-09-18 17:32:01 +00:00
Vladimir Prus
0271d0b770 Cleanup/simplify the 'make' example.
[SVN r30976]
2005-09-14 10:03:01 +00:00
Vladimir Prus
d87598ca5a Cleanup/simplify the 'make' example.
[SVN r30976]
2005-09-14 10:03:01 +00:00
Vladimir Prus
ef298c5789 New rule common.copy-command
[SVN r30975]
2005-09-14 10:01:23 +00:00
Vladimir Prus
31810aa869 New rule common.copy-command
[SVN r30975]
2005-09-14 10:01:23 +00:00
Vladimir Prus
d5b890b16e Allow unqualified rule names for calls to the 'make' main target rule.
[SVN r30974]
2005-09-14 09:54:14 +00:00