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

1247 Commits

Author SHA1 Message Date
Vladimir Prus
d631bb61ae 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
85a59b8ae6 Borland tweaks.
* test/dependency_test.py
  Ignore *.tds files.


[SVN r18219]
2003-04-09 12:17:11 +00:00
Vladimir Prus
303e1f6e62 Test tweak: don't import toolsets --- user-config/test-config should do that.
[SVN r18218]
2003-04-09 12:14:28 +00:00
Vladimir Prus
ccb7c9de69 Brand new version of borland toolset. Based on V2's msvc.jam and V1's
borland-tools.jam.


[SVN r18217]
2003-04-09 12:13:31 +00:00
Vladimir Prus
735167752b Make composing generators fail immediately if given no name. This,
essentially, makes composing generators fail if they are run deeper
during transformation search. Looks like a new incarnation of
'allow-composing'.

The motivation is to fight with cases where trasformation
like CPP -> OBJ -> STATIC_LIB -> RSP -> EXE was tried. The composing
OBJ -> STATIC_LIB generator was totally unprepared to be invoked at such
depth, and errored out. The new behaviour cause this transformation to be
rejected, but the search continues.

* new/generators.jam
  (generator.run-really): New rule, with most of previous 'run' content.
  (generator.run): Check arguments only and call 'run-really'. Immediately
  return if the generator is composing and no name is specified.


[SVN r18216]
2003-04-09 12:12:41 +00:00
Vladimir Prus
5b4ad898b2 Minor bugfix: properties were not correctly reported in --debug-generators
output.


[SVN r18215]
2003-04-09 12:06:14 +00:00
Vladimir Prus
6b9905e42f 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
a9b0dea855 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
a3683f2d46 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
719471b4dc Expand hacking guidelines.
[SVN r18208]
2003-04-08 11:38:14 +00:00
Vladimir Prus
929daa9979 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
Vladimir Prus
fc2f841c10 Win32 fixes.
[SVN r18182]
2003-04-04 08:00:42 +00:00
Vladimir Prus
51ce3ff756 Win32 fixes. Big thanks to Bjorn Karlsson.
* jam_src/pwc.c: Concert short pathnames to long ones.


[SVN r18181]
2003-04-04 07:55:59 +00:00
Vladimir Prus
1beb700397 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +00:00
Vladimir Prus
7786ca9bc2 Pass string to 'popen3', since it does not like lists.
[SVN r18179]
2003-04-04 07:50:36 +00:00
Vladimir Prus
7a0cd86cfc Patch from Andre Hentz.
Change the test system to use "exec*", not "system". This is needed to
avoid espacing shell metacharacters.


[SVN r18156]
2003-04-02 12:43:05 +00:00
Douglas Gregor
4177e8e5cc print.jam: Provide escaped strings for Windows and Unix
regex.jam: Provide "escape" routine that escapes a string with certain escape
  characters

boostbook.jam: Use print.escape to properly escape argument to "echo" on
  Windows and Unix (BoostBook now works on non-Cygwin Windows)


[SVN r18148]
2003-04-01 14:34:31 +00:00
Vladimir Prus
3737f4e662 Additional tests for direct build request handling.
[SVN r18147]
2003-04-01 08:46:38 +00:00
Vladimir Prus
9cff37cbd7 Enable a test which now works.
[SVN r18146]
2003-04-01 07:50:01 +00:00
Douglas Gregor
3797ec4082 Allow passing in the caller to the make rule, so that other modules
(that aren't user projects) can use it to add targets to their callers


[SVN r18137]
2003-03-30 15:24:57 +00:00
Douglas Gregor
902719f2b0 - Testsuite building support
- Catalog is marked "ALWAYS" here (not in the print module)


[SVN r18136]
2003-03-30 15:23:23 +00:00
Douglas Gregor
bd621c6bf6 ALWAYS $(output-target) doesn't belong in the text rule, it belongs in
the caller


[SVN r18135]
2003-03-30 15:17:52 +00:00
Douglas Gregor
cc2dd7ff2f - Deal with different environt-setting syntax on Windows vs. Unix
- Remove the BoostBook XSL/DTD dir arguments from the BoostBook module (they really aren't useful)
- Add XSLTPROC argument to BoostBook module


[SVN r18129]
2003-03-29 16:01:32 +00:00
Douglas Gregor
696f3b7fab print.py: Test the print module by using it to output text with quotes to a
text file

test_all.py: add print.py


[SVN r18126]
2003-03-28 15:27:14 +00:00
Douglas Gregor
270a159e61 Use the print module to output the XML catalog properly
[SVN r18125]
2003-03-28 15:13:33 +00:00
Douglas Gregor
cbab15fbad - Changes the \" -> '' transformation into \" -> \\\", i.e., instead of
transforming the double-quote character into two single quotes, we transform
it into a correctly-escaped double quote.

- Add an "overwrite" option to print.text that overwrites the file instead of
appending to it.


[SVN r18124]
2003-03-28 15:12:29 +00:00
Vladimir Prus
f2658f847b Patch from Andre Hentz.
* new/builtin.jam
  - register builtin.response-generator with 'register-linker', to
    take advantange of 'link-action'. Convert <library-path>,
    <find-static-library> and <find-shared-library> into on-target
    variables using toolset.flags.
  (builtin.response-file) Output variables for library path to response
    file.
  (searched-lib-generator.run): Assign 'null-action' instance to the
  generated target, to carry properties. Correct prototype and workaround
  some, as-yet-unknown problem.

* test/searched_lib.py: New test (added by me).


[SVN r18121]
2003-03-28 09:20:58 +00:00
Vladimir Prus
224bc8cbae Bugfix: pass toolset after extra_arguments, so that
run_build_system("-n") generates
   -n gcc
command line, intead of
   gcc -n
where '-n' is ignored.


[SVN r18120]
2003-03-28 09:12:51 +00:00
Vladimir Prus
f42a4cb547 Robustify project-test3 and project-test4, so that don't fail
if just some incidental property is added.


[SVN r18119]
2003-03-28 08:39:21 +00:00
Douglas Gregor
f65fbb06aa Now able to set the FILE_PATTERNS and RECURSIVE Doxygen parameters via features
[SVN r18109]
2003-03-27 18:43:18 +00:00
Vladimir Prus
decfb3d99e Workaround a big BUG. The test must pass now, however.
[SVN r18103]
2003-03-27 15:46:14 +00:00
Vladimir Prus
221241bec1 Bugfix: quote filenames in actions.
[SVN r18102]
2003-03-27 15:40:07 +00:00
Vladimir Prus
5a04fe0b58 Allow to link libraries into shared libraries on gcc.
[SVN r18101]
2003-03-27 12:28:21 +00:00
Douglas Gregor
0bce60b8b6 Really minor tweaks
[SVN r18099]
2003-03-27 05:18:10 +00:00
Douglas Gregor
5358fbc38e Introduce ability to generate Doxygen XML from a list of source files
with one command.


[SVN r18098]
2003-03-27 00:06:22 +00:00
Vladimir Prus
6d50c39b53 Fix path handling on Cygwin. Thanks to Andre Hentz for the patch.
[SVN r18091]
2003-03-26 12:16:01 +00:00
Vladimir Prus
0d18db3822 Issue a user-friendly warning when no toolsets are configured.
[SVN r18090]
2003-03-26 09:19:02 +00:00
Vladimir Prus
c17d598ce7 Comments/renames.
[SVN r18089]
2003-03-26 09:09:42 +00:00
Vladimir Prus
65d237b272 Improve installation docs.
[SVN r18088]
2003-03-26 09:03:26 +00:00
Douglas Gregor
c39257b864 boostbook.jam: Add rule to access XSL directory from other modules
doxygen.jam: _Very_ preliminary support for Doxygen --> BoostBook conversion.
  Uses a hacked up Doxygen to output XML representation as one big XML file
  instead of many smaller (unlinked) XML files.


[SVN r18087]
2003-03-26 04:39:01 +00:00
Vladimir Prus
58747a7b81 Doc correction from Michael Stevens.
[SVN r18074]
2003-03-24 07:32:00 +00:00
Rene Rivera
09dee4da89 Changes to bootstrap and build with the MinGW environment.
* Define the OS as NT as this seems more reasonable than having MINGW as the OS (after all MinGW is the toolset not the OS).
* Add detection of one common install location for MinGW.


[SVN r18073]
2003-03-24 04:34:27 +00:00
Rene Rivera
19d9f9a467 Minor change to hopefully cover more NT shells.
[SVN r18068]
2003-03-24 00:56:58 +00:00
Dave Abrahams
bd156fa4a6 minor UML tweaks
[SVN r18034]
2003-03-20 16:01:53 +00:00
Dave Abrahams
712168581a Adjust for Win32
[SVN r18030]
2003-03-20 13:48:59 +00:00
Dave Abrahams
66765cdfdd Add missing path nativizing.
[SVN r18029]
2003-03-20 13:48:31 +00:00
Dave Abrahams
600f255ce3 Account for Win32 idiosyncracies
[SVN r18024]
2003-03-20 02:42:17 +00:00
Dave Abrahams
aa1274fe71 Fix usage requirements check to account for conditional properties.
I'm not completely sure this is precisely the right fix:

    a. The error message used to reference a non-existent variable.
    What was it supposed to be?

    b. Should property.remove et. al. be able to cope with conditional
    properties?


[SVN r18023]
2003-03-20 02:41:49 +00:00
Joel de Guzman
3229f3f9bd Bump to v1.6.0
[SVN r18021]
2003-03-19 23:33:19 +00:00
Douglas Gregor
5f6cd50342 boostbook.jam: Removed PDF & Postscript-specific code
fop.jam: Support PostScript and PDF generation via FOP


[SVN r18016]
2003-03-19 19:46:47 +00:00