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

950 Commits

Author SHA1 Message Date
Vladimir Prus
933fbb8763 BoostBook improvements.
* new/boostbook.jam
  Move xsl:param out of here. Print nice error message when boost root is not
  specified. Don't set TEMPORARY on catalog files, since it prevents catalog
  creation now and catalog is not temparary anyway.
  Export boostbook to global scope to that "using boostbook" works.
  Update dependency scanner for recent changes in build engine.

* new/xsltproc.jam
  New feature xsl:path.
  (compute-xslt-flags): New rule, with factored out common code.
  Use common.variable-setting-command to simplify actions.


[SVN r19028]
2003-07-10 14:13:59 +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
4b63ff7e20 Map <threading>multi into -pthread.
[SVN r18978]
2003-07-08 13:09:47 +00:00
Vladimir Prus
b341f12c30 Add -nologo switch to linker command line.
[SVN r18936]
2003-07-04 11:36:36 +00:00
Vladimir Prus
c661c1ba19 Bugfix: the 'lib' target used to pass all unused sources to dependents,
which confused Boost.Build.


[SVN r18924]
2003-07-03 07:52:57 +00:00
Vladimir Prus
d2ad8e70c5 Implement inline main targets.
* new/targets.jam
  (main-target-sources): New rule.
  (abstract-target.rename): New rule
  (project-target.rename-main-target): New rule.


[SVN r18923]
2003-07-03 07:23:26 +00:00
Vladimir Prus
b521e2fb05 Improve comments.
[SVN r18922]
2003-07-03 07:18:39 +00:00
Vladimir Prus
23dde14d6b Bufix. Don't change suffix for searched libraries on Windows, if suffix is
explicitly provided. Thanks to Kirill Lapshin for the bug report.


[SVN r18918]
2003-07-02 13:28:39 +00:00
Vladimir Prus
eb5d60e764 Make searched targets really work on borland.
* new/builtin.jam
  (lib-generator): Remove.
  (lib-target-class): New class. Target class is more powerfull then
  generator, here.

* new/generators.jam
  (construct): New argument 'return-all'.

* bew/property-set.jam
  (property-set.add-raw): New method.


[SVN r18917]
2003-07-02 12:23:50 +00:00
Vladimir Prus
66ad2a2aad Use new-style target in in stlport.jam.
[SVN r18909]
2003-07-01 14:15:22 +00:00
Vladimir Prus
812503f553 Add linkflags and archiveflags support to borland toolset.
[SVN r18908]
2003-07-01 14:10:56 +00:00
Vladimir Prus
4a8fdb89f8 Add missing import.
[SVN r18904]
2003-07-01 11:58:11 +00:00
Vladimir Prus
950d24ffce Gettext improvements. Allow main target in sources for 'gettext.update'
rule. Improve 'stage' target to help installting gettext files.


[SVN r18903]
2003-07-01 11:48:53 +00:00
Vladimir Prus
03e377c4a1 Add gettext support.
[SVN r18902]
2003-07-01 09:48:16 +00:00
Vladimir Prus
ee237153c7 Update build system for bjam changes.
[SVN r18890]
2003-06-30 14:28:05 +00:00
Vladimir Prus
4bdacfc770 Patch from Kirill Lapshin to improve msvc autoconfiguration.
- use ProgramFiles environmental variable, if set, to handle
  localized Windows installation.
- use VS71COMTTOOLS for detect vc 7.1 installation path.


[SVN r18886]
2003-06-30 12:32:19 +00:00
Rene Rivera
7b360ad933 Support use of unversioned and unrooted initialization of the toolset. In which case an attempt is made to find the intended root from a path search. Additionaly fixed the precense of -L"" when an unrooted initialization happens.
[SVN r18882]
2003-06-27 22:05:03 +00:00
Vladimir Prus
c5b48d9e91 Improve doc formatting.
[SVN r18875]
2003-06-27 13:19:52 +00:00
Vladimir Prus
c2abccc7de Bugfix: make searched libraries really work on borland.
[SVN r18867]
2003-06-24 12:43:11 +00:00
Vladimir Prus
8f93a26cf1 Bison/Lex improvements: add YY and LL types which are converted into C++.
Add missing 'init' rules.


[SVN r18866]
2003-06-24 12:41:23 +00:00
Vladimir Prus
9ef9295791 Add missing 'init' rule.
[SVN r18865]
2003-06-24 11:53:14 +00:00
Vladimir Prus
3c713ae3c6 Minor bugfix.
[SVN r18802]
2003-06-16 12:50:55 +00:00
Vladimir Prus
b978576585 STLport works with msvc now.
[SVN r18801]
2003-06-16 12:34:49 +00:00
Vladimir Prus
adf4847d29 Don't error out if msvc is not found: just give a warning. This helps people
which use the same user-config.jam from different machines.


[SVN r18800]
2003-06-16 12:21:49 +00:00
Vladimir Prus
7b975693c5 Explicitly pass source type for msvc.
[SVN r18776]
2003-06-11 11:48:15 +00:00
Vladimir Prus
8eff530bad Explicitly specify source type when compiling, so that there's no need to
specify both name for C++ compiler and for C compiler, when initializing
non-default version.


[SVN r18775]
2003-06-11 10:27:46 +00:00
Vladimir Prus
58f0dbb5cd Compile C files with C compiler, not C++. This commit would close BB32, if
it included MSVC...

* new/toolset.jam:
  Allow action names with dots, so that we can set flags for
   gcc.compile.c, gcc.compile and gcc and combine those flags.

* tools/gcc.jam: Use 'gcc' for compiling C files. There's still a problem:
   'init' rules does not allow to configure name of C compiler. Also, don't
   declare flags individually for gcc.link and gcc.link-dll.

* tools/borland.jam: Force C++ compile when needed.


[SVN r18774]
2003-06-11 08:40:45 +00:00
Vladimir Prus
bac8766d2e Work-in-progress on better STLport support.
[SVN r18693]
2003-06-06 09:57:57 +00:00
Vladimir Prus
8fba943d71 Move a bunch of modules to "tools" directory. I'm uncertain about some
modules that are still in "new", but they can be moved later.


[SVN r18692]
2003-06-06 09:38:49 +00:00
Vladimir Prus
22118a1c76 Add support for resource compiler, from Andre Hentz.
[SVN r18676]
2003-06-05 05:51:00 +00:00
Vladimir Prus
ebe8aca43e ".cc" is C++, too.
[SVN r18611]
2003-05-30 13:55:48 +00:00
Vladimir Prus
bb73dfd63a Bugfix: recognize '.a' as valid extension for libraries, on Cygwin.
Bug reported by Wieger Wesselink.


[SVN r18559]
2003-05-27 14:23:51 +00:00
Vladimir Prus
2459873857 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
1d0317cd2e Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
5dc40cd49a Bugfix.
* new/stage.jam
  (stage-target-class.construct): Pass the result via
  'virtual-target.register'. I wonder if virtual targets should
   be create via 'virtual-target.create' which will invoke
  'virtual-target.register' internally. Passing via 'register' was forgotten
   in many places.

* test/stage.py: New test.


[SVN r18497]
2003-05-22 13:23:40 +00:00
Vladimir Prus
c052b1ad2b Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00
Vladimir Prus
51d8568b7c Fix a couple of fallouts from the default build change.
* new/make.jam
  (make): Pass 'default-build' in the right position.

* new/targets.jam
  (basic-target): Use empty property-set if no default-build is passed.
  (main-target): Use 'raw' to test property-set for emptines. The string
  emptyness test that use to be there does not works for property-sets.


[SVN r18440]
2003-05-19 10:28:02 +00:00
Vladimir Prus
ec1ae4a42d More changes to accomodate more strict import semantics and changes
to feature.action.


[SVN r18416]
2003-05-16 11:05:42 +00:00
Dave Abrahams
6ebded3459 Note: there is currently a circular dependency between type.jam and
virtual-target.jam.

- Added the missing explicit imports, now that we don't dump
  everything into the global module with qualification

- stopped using the feature-space hack for temporary testing states of
  the feature module.  Instead we move its global variable definitions
  to a temporary module.

- the way feature.action was invoking the rule it was being passed was
  evil.  Now you pass (even local) rules without qualification and
  they are invoked in the source module context.

- module __test__ rules are always executed in a separate module, so
  that their import dependencies can be separated from those of the
  module being tested.

- better reporting of circular module-loading dependencies
  implemented.

- minor changes:

    property-set.jam:  moved .empty initialization to avert circular
    load dependency .

    symlink.jam: fixed global variable naming.


[SVN r18407]
2003-05-15 22:22:13 +00:00
Vladimir Prus
67c2f9229a Add <runtime-debugging>on for debug variant.
* new/feature.jam
  - the above change, plus changed the order of values for
  'runtime-debugging' feature, to accomodate strange behaviour of
  'feature.add-defaults'.


[SVN r18392]
2003-05-14 09:00:22 +00:00
Vladimir Prus
26375482e0 Improve testing.
* new/builtin.jam: Register RSP and IMPORT_LIB types, and associated
  generators unconditionally, since the previous behaviour made using
  the same dir for testing from linux and windows inconvenient:
  "using msvc" was causing errors on linux because RSP type was not defined.


[SVN r18362]
2003-05-08 11:06:30 +00:00
Vladimir Prus
b75c9e17ca Bugfixes.
* new/prebuilt.jam : Make 'file' feature into path-feature.
  (prebuilt-file-generator.run): Adjust accordingly.


[SVN r18328]
2003-04-28 14:12:17 +00:00
Vladimir Prus
139b62330a Get rid of annoying 'unused source' warning for stage targets.
* new/stage.jam
  (stage-target-class.check-for-unused-sources): Override base method with
  an empty one, since the inherited logic does not make any sense for stage.


[SVN r18295]
2003-04-23 14:17:34 +00:00
Vladimir Prus
b040c8b42e Bugfix: set NDEBUG for release builds.
* new/builtin.jam: Make <optimization>speed active property and add
  <define>NDEBUG for it.

* test/ndebug.py: New test.


[SVN r18250]
2003-04-14 11:02:34 +00:00
Vladimir Prus
21bb325dcc Bugfix: don't create duplicate virtual targets for searched lib with
the same properties. Thanks to Andre Hentz for finding this bug and
providing the test case.

* new/builtin.jam
  (searched-lib-generator.run): Pass the result through
  'virtual-target.register'.

* test/searched_lib.py: Add new test.


[SVN r18247]
2003-04-14 05:51:06 +00:00
Vladimir Prus
142365f287 Improve library handling.
* new/toolset.jam
  (flags): Add 'unchecked' parameter, too allow declaring flags for other
  modules.

* new/builtin.jam: Don't declare LIBRARY_PATH_OPTION.
* new/borland.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.
* new/msvc.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.


[SVN r18222]
2003-04-09 14:14:57 +00:00
Vladimir Prus
c0c1636dfb Cleanups.
* new/builtin.jam
  (searched-lib-generator.run): Tweak the logic and change comments.


[SVN r18214]
2003-04-09 12:03:19 +00:00
Vladimir Prus
9cb554a731 Declare 'user-interface' feature in 'builtin.jam', not 'msvc.jam', because
it is not msvc-specific -- e.g. borland needs it as well.


[SVN r18213]
2003-04-09 12:01:02 +00:00
Vladimir Prus
b1f7b4f34d Patch from Andre Hentz to fix os=cygwin/toolset=msvc combination.
* new/builtin.jam: Associate obj and lib extension with OBJ and
STATIC_LIB target types, to handle the above combination. The gcc
toolset overrides these extension explicitly.

* new/msvc.jam
   (archive): Use bash syntax on cygwin.


[SVN r18210]
2003-04-08 14:14:53 +00:00
Vladimir Prus
192fd6c976 Cleanups.
* new/virtual-target.jam
  (virtual-target.path): New abstract method. Added so that derived classes
  always define both 'actualize-location' and 'path'.

* new/builtin.jam
  (searched-lib-target.path): Use empty body.


[SVN r18196]
2003-04-07 09:08:35 +00:00