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

2839 Commits

Author SHA1 Message Date
Vladimir Prus
669c8a0dbf Change license to BSL. Added my copyright.
[SVN r31121]
2005-09-26 06:02:41 +00:00
Vladimir Prus
d53c1620ac Implement autodetection code for the 'msvc' toolset. It is
able to detect Visual Studio 6.0, 7.0, 7.1, 8.0 and Visual C++ Toolkit
2003. Detected settings are used in the cases when:
   - only version number is passed (using msvc : 8.0 ;)
   - incomplete configuration command is given (using msvc : 8.0 : cl.exe ;)
   - any available compiler is configured (using : default ;)
   - all available compilers are configured (using : all ;)

A user is free to overwrite any of detected settings.

Patch from Alexey Pakhunov.


[SVN r31120]
2005-09-26 05:58:37 +00:00
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
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
13df8c4bdd Fix typo
[SVN r31090]
2005-09-23 10:26:52 +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
595a1058f8 Clarify dependent/dependency
[SVN r31081]
2005-09-22 16:39:36 +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
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
17a84a5968 Add assembler support for msvc toolset.
Patch from Reece Dunn.


[SVN r31077]
2005-09-22 13:51:58 +00:00
Vladimir Prus
eabab4fc06 Edits in the "Project Hierarchies" section.
[SVN r31072]
2005-09-21 15:07:35 +00:00
Vladimir Prus
8335fb2851 Edits in "Conditions and alternatives" section.
[SVN r31071]
2005-09-21 14:43:44 +00:00
Vladimir Prus
238f1c9068 Apply edits from Dave.
[SVN r31070]
2005-09-21 14:11:14 +00:00
Vladimir Prus
8276c09eac Document <warnings> and <warnings-as-errors> features.
[SVN r31069]
2005-09-21 13:52:41 +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
fa55fb35dc Robostify
[SVN r31067]
2005-09-21 13:41:48 +00:00
Vladimir Prus
c93b57cef2 Minor comment tweak
[SVN r31066]
2005-09-21 13:41:08 +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
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
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
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
2b56b3434f Revive the project_test3 test.
[SVN r31035]
2005-09-19 08:49:50 +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
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
ec70d686d5 typo
[SVN r31025]
2005-09-18 17:32:01 +00:00
Vladimir Prus
d87598ca5a Cleanup/simplify the 'make' example.
[SVN r30976]
2005-09-14 10:03:01 +00:00
Vladimir Prus
31810aa869 New rule common.copy-command
[SVN r30975]
2005-09-14 10:01:23 +00:00
Vladimir Prus
1c4204443e Allow unqualified rule names for calls to the 'make' main target rule.
[SVN r30974]
2005-09-14 09:54:14 +00:00
Vladimir Prus
906605c802 Fix absolute build-dir values.
[SVN r30973]
2005-09-14 08:50:17 +00:00
Vladimir Prus
294bb9b0c0 Fix documentation of <source> and <library> features.
[SVN r30971]
2005-09-14 06:50:39 +00:00
Vladimir Prus
b9beae7fdc Don't care if two non-derived virtual targets map to the same filename.
New file-target.clone-with-different-type method.


[SVN r30970]
2005-09-14 06:28:22 +00:00
Vladimir Prus
cdcd9ab618 Defined the MOCCABLE_CPP type.
[SVN r30969]
2005-09-14 06:26:45 +00:00
Vladimir Prus
57673e6ad2 Note .htaccess
[SVN r30946]
2005-09-13 12:54:46 +00:00
Vladimir Prus
0119416c3f Note that QTDIR must be set to use the examples.
[SVN r30945]
2005-09-13 11:07:05 +00:00
Vladimir Prus
9498b8f722 Remove old Qt example.
[SVN r30944]
2005-09-13 11:04:34 +00:00
Vladimir Prus
44e700b7cb Update Qt examples for Qt4.
[SVN r30943]
2005-09-13 11:03:53 +00:00
Vladimir Prus
2a159020c6 Make it possible to run moc on CPP sources.
[SVN r30942]
2005-09-13 10:16:37 +00:00
Vladimir Prus
3bc9aeaf63 New 'cast' main target rule.
[SVN r30940]
2005-09-13 09:19:54 +00:00
Vladimir Prus
6c016ac1a1 Don't ever try to relink non-derived files.
[SVN r30872]
2005-09-08 09:21:58 +00:00
Joel de Guzman
c253720a9f tweak to new quickbook program options
[SVN r30792]
2005-09-03 14:32:11 +00:00
Andrey Melnikov
331d2871c5 - "toolset.flags"->"flags" replacement
[SVN r30783]
2005-09-02 07:35:54 +00:00
Vladimir Prus
4086ae176c Factor out Qt types declaration into separate file. Now Qt3 and Qt4 can
be both initialized.


[SVN r30772]
2005-09-01 10:36:16 +00:00
Vladimir Prus
087232f4e7 Pass the <include> and <define> feature to the Qt4's moc tool.
Patch from Jurgen Hunold.


[SVN r30771]
2005-09-01 10:26:14 +00:00
Vladimir Prus
4320c23297 For Qt4, don't run moc on headers produces by uic, since they
never contains moccable classes.

The trick here is that if we have:

  exe a : a.cpp b.ui ;

Then we should produce b.h target that is not used by any action -- it's
only indirectly used by include in a.cpp.

So, we declared .ui -> .obj generator, so that it's invoked when
building exe, but make it return header, not .obj.

Second, the path of b.h should be added to include paths. But it was
not done, because b.h is not used anywhere and so is not included in
'subvariant' for this target -- which object is used to compute extra
incude path.

* build/virtual-target.jam
  (register): Add result to .recent-targets
  (recent-targets, clear-recent-targets): New functions.

* build/targets.jam
  (basic-target.generate): Create subvariant from
  'virtual-target.recent-targets' not just directly returned targets.

* tools/qt4.jam: Declare custom generator for ui->h conversion.


[SVN r30770]
2005-09-01 10:22:52 +00:00
Vladimir Prus
f392a1271e Remove the 'u' modifier from 'ar' invocation, which is not needed
now that we remove archive before invoking 'ar'.


[SVN r30768]
2005-09-01 08:04:48 +00:00
Rene Rivera
26b3f2fc3a Add features for specifying CPU code generation: address-model, architecture, and instruction-set. Transplanted from BBv1.
[SVN r30744]
2005-08-31 03:49:33 +00:00
Vladimir Prus
dd7dffecec Remove debug print
[SVN r30591]
2005-08-16 10:59:50 +00:00
Vladimir Prus
db0d944e94 Fix a link failure on Unix for a main -> libb -> liba scenario,
where libb is a target in Boost.Build and liba is a file referred to by name.


[SVN r30590]
2005-08-16 10:58:22 +00:00
Vladimir Prus
3e3abd4509 Allow Whale generator to be called with several sources, and immediate
return no targets in that case.


[SVN r30542]
2005-08-12 13:16:37 +00:00
Vladimir Prus
d22834b979 Add ASM to the list of assembler suffixes. Just because I need that
extension somewhere else.


[SVN r30541]
2005-08-12 13:14:46 +00:00