Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
6dd39487f3 Workaround: change timestamp of 0, to 1, so that Jam does not consider
file as missing. This is needed because /cygdrive on cygwin has the
zero timestamp.

* new/fileunix.c
  (file_time): The above change.


[SVN r18256]
2003-04-16 10:01:17 +00:00
Vladimir Prus
784c48029b Workaround: change timestamp of 0, to 1, so that Jam does not consider
file as missing. This is needed because /cygdrive on cygwin has the
zero timestamp.

* new/fileunix.c
  (file_time): The above change.


[SVN r18256]
2003-04-16 10:01:17 +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
a72ae448b9 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
9969209255 Cleanups.
* new/targets.jam
  (project-target.reference-properties): Call 'run-action' on properties,
  to match the process in 'basic-target'.

  (basic-target.refined-properties): Remove the comment about difference
  from the above rule.


[SVN r18249]
2003-04-14 10:06:20 +00:00
Vladimir Prus
94e11e270b Cleanups.
* new/targets.jam
  (project-target.reference-properties): Call 'run-action' on properties,
  to match the process in 'basic-target'.

  (basic-target.refined-properties): Remove the comment about difference
  from the above rule.


[SVN r18249]
2003-04-14 10:06:20 +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
c71794e951 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
Douglas Gregor
79bbadc0cf boostbook.jam:
- Factor out XSLT processing rules
  - Add "tests" rule to build testcases and Jamfiles

doxygen.jam:
  - Use Doxygen as-is, without the monolithic XML file patch

xsltproc.jam:
  - xsltproc XSLT toolset

user-config.jam:
  - add "using xsltproc"


[SVN r18241]
2003-04-13 14:41:40 +00:00
Douglas Gregor
ff4e39fb66 boostbook.jam:
- Factor out XSLT processing rules
  - Add "tests" rule to build testcases and Jamfiles

doxygen.jam:
  - Use Doxygen as-is, without the monolithic XML file patch

xsltproc.jam:
  - xsltproc XSLT toolset

user-config.jam:
  - add "using xsltproc"


[SVN r18241]
2003-04-13 14:41:40 +00:00
Vladimir Prus
e825755eed Fix a bug introduces in 1.8 which broke gcc tests. Do not think that import
libraries are used with gcc, even on NT. The previos version assumed that
import libraries are always used on NT.


[SVN r18230]
2003-04-11 06:31:14 +00:00
Vladimir Prus
45cd767871 Fix a bug introduces in 1.8 which broke gcc tests. Do not think that import
libraries are used with gcc, even on NT. The previos version assumed that
import libraries are always used on NT.


[SVN r18230]
2003-04-11 06:31:14 +00:00
Vladimir Prus
a9e17a5c1f Add missing quoting around filesnames.
[SVN r18229]
2003-04-10 15:17:21 +00:00
Vladimir Prus
a8bc2852a6 Add missing quoting around filesnames.
[SVN r18229]
2003-04-10 15:17:21 +00:00
Vladimir Prus
9efcd4132f Restore prebuilt.py to life on NT/gcc.
[SVN r18228]
2003-04-10 15:10:37 +00:00
Vladimir Prus
4555bfab76 Restore prebuilt.py to life on NT/gcc.
[SVN r18228]
2003-04-10 15:10:37 +00:00
Dave Abrahams
4fae733892 optimized insertion-sort
[SVN r18225]
2003-04-10 11:33:13 +00:00
Dave Abrahams
d5b41210cb optimized insertion-sort
[SVN r18225]
2003-04-10 11:33:13 +00:00
Vladimir Prus
41e33cd9f0 Patch from Andre Hentz.
get os=cygwin/toolset=msvc to pass the tests

* new/msvc.jam
  (link): create a CYGWIN-specific version (assumes bash and cygpath)
  (archive): convert paths from unix-style to nt-style
  (init): use platform-independent paths

* test/dependency-test/foo.jam
  add __declspec if CYGWIN and not GCC


[SVN r18224]
2003-04-10 09:49:31 +00:00
Vladimir Prus
d21d99ceed Patch from Andre Hentz.
get os=cygwin/toolset=msvc to pass the tests

* new/msvc.jam
  (link): create a CYGWIN-specific version (assumes bash and cygpath)
  (archive): convert paths from unix-style to nt-style
  (init): use platform-independent paths

* test/dependency-test/foo.jam
  add __declspec if CYGWIN and not GCC


[SVN r18224]
2003-04-10 09:49:31 +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
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
a8af1447a7 Borland tweaks.
* test/dependency_test.py
  Ignore *.tds files.


[SVN r18219]
2003-04-09 12:17:11 +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
0d64186003 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
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
75df01946b 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
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
5eaac86c0c 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
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
de1c0dca7b Minor bugfix: properties were not correctly reported in --debug-generators
output.


[SVN r18215]
2003-04-09 12:06:14 +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
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
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
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
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
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
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
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
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
394043114a Win32 fixes.
[SVN r18182]
2003-04-04 08:00:42 +00:00
Vladimir Prus
fc2f841c10 Win32 fixes.
[SVN r18182]
2003-04-04 08:00:42 +00:00
Vladimir Prus
3ed8693101 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
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
d188a48917 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +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
443f59d114 Pass string to 'popen3', since it does not like lists.
[SVN r18179]
2003-04-04 07:50:36 +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
d63f63a9fa 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