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

1322 Commits

Author SHA1 Message Date
Vladimir Prus
21ea3db0f5 Improve the way unused sources are detected/reported.
* new/targets.jam
  (basic-target.generate-source): Separate virtual targets that come from
    different sources.
  (basic-target.check-for-unused-targets): Warn only if not virtual target
    from a given source is comsumed.


[SVN r18403]
2003-05-15 15:52:26 +00:00
Vladimir Prus
01d6c24442 Improve msvc initialization. Now, simple 'using msvc' will work,
regardless of whether vcvars32.bat was called by user.

In addition, new command line option '--debug-configuration' is introduced.
The msvc toolset will tell what paths are searched and what version is
selected, if this option is passed.


[SVN r18402]
2003-05-15 13:28:37 +00:00
Vladimir Prus
0667999e30 Try to eliminate short paths on windows, at least in some contexts. They
are very annoying --- e.g. you might decide there are several msvc
installation just because you have default location as long name, and there's
vcvars32.bat in PATH, and PATH element uses short name.

* jam_src/pathsys.h
  (short_name_to_long_name): New function.

* jam_src/filent.c:
  (file_dirscan): Call 'short_name_to_long_name' on argument.

* jam_src/pathunix.c:
  (ShortPathToLongPath): Move here from pwd.c, and fix bugs:
    '.' and '..' elements were completely broken.
  (short_name_to_long_name): Implement here.


[SVN r18401]
2003-05-15 13:07:09 +00:00
Vladimir Prus
07fd9055fd Cleanups. No functional changes.
[SVN r18396]
2003-05-14 10:14:27 +00:00
Vladimir Prus
e5b5542126 Fix a latent bug.
* new/virtual-target.jam
  (abstract-file-target.actualize-action): Don't set up clean action
   here; the previous code worked by accident anyway, because 'name'
   variable was not declared in any reasonable way.
  (action.actualize): Set up clean action here, close to the place where
   updating action is set up.


[SVN r18395]
2003-05-14 10:08:39 +00:00
Vladimir Prus
feee18e0f9 Document the 'variant' feature. Eventually, we need to document all
builtin features; I'm doing that for 'variant' since I was changing it
recently.


[SVN r18393]
2003-05-14 09:24:29 +00:00
Vladimir Prus
7b739afa86 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
8b65c26672 Clarifiy comments.
* new/feature.jam
  (add-defaults): Add a note about behaviour w.r.t. composite features.


[SVN r18391]
2003-05-14 08:57:42 +00:00
Vladimir Prus
d76f774539 Add tests for typechecking facilities.
* test/core_typecheck.py: New test
* test/core_d12.py: Don't pass toolset name to bjam.
* test/test_all.py: Run core tests.


[SVN r18390]
2003-05-14 06:44:43 +00:00
Vladimir Prus
fc4ec011d0 Add missing call to BoostBuild.Tester.cleanup.
[SVN r18389]
2003-05-14 06:38:04 +00:00
Vladimir Prus
9b981bb8f9 Undo woraround that is no longer necessary.
[SVN r18387]
2003-05-13 08:25:52 +00:00
Dave Abrahams
a38628bee0 Removed redundant -y flag from bison flags
Added -t -v to the yacc/bison flags when --debug is used.

Additionally, we now grab $(YACCFLAGS) from the
environment/command-line to get more yacc diagnostics


[SVN r18379]
2003-05-10 17:57:44 +00:00
Dave Abrahams
a05eca2570 Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Dave Abrahams
ba7bb1d4a4 Build jam0 with debugging under MSVC, in case it crashes (which it does).
[SVN r18377]
2003-05-10 14:28:30 +00:00
Vladimir Prus
9825fa6a23 Improve tests.
* tests/prebuilt/ext/Jamfile3: Test that prebuilt targets with
  absolute names work.


[SVN r18371]
2003-05-08 13:52:28 +00:00
Dave Abrahams
ec70263fbf un-pluralized "target-types" in try-one-generator.
[SVN r18370]
2003-05-08 13:33:17 +00:00
Dave Abrahams
da3ac6d658 Improved grammar of comment on specific-main-target()
Added a comment for str() and improved variable naming


[SVN r18369]
2003-05-08 13:32:34 +00:00
Dave Abrahams
a2f68b1635 Don't reverse slash direction when reconstituting paths on NT
[SVN r18368]
2003-05-08 13:30:24 +00:00
Vladimir Prus
69bf0b1075 Bugfix.
* new/gcc.jam: Quote includes and library names.


[SVN r18367]
2003-05-08 12:54:55 +00:00
Vladimir Prus
4ffa82b420 Bugfix.
* new/feature.jam (get-values): Don't change slash direction on windows.
  The bug can be seen by reverting this change and adding

      import feature ;
      ECHO [ feature.get-values <file> : <file>a/b/c.dll ] ;

  to 'project-root.jam' of examples-v2/hello.


[SVN r18366]
2003-05-08 12:26:38 +00:00
Vladimir Prus
828ccf61b5 Bugfix.
* new/virtual-target.jam
  (file-target.specific-main-target): Check not only free, but also
  dependency properties when deciding if targets is specific to the main
  target.
* new/dependency_property.py: New test.


[SVN r18363]
2003-05-08 11:24:26 +00:00
Vladimir Prus
b879aca42b 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
ed49e4f7c5 Refactorings.
* new/msvc.jam
  (version-configured, versionless-configured): Remove unused vars.
  (init): Don't call 'flags SETUP ...', since SETUP is never used.
  (locate): Extracted from 'init'.


[SVN r18357]
2003-05-08 09:55:39 +00:00
Vladimir Prus
25fafad9da Add missing dllexport.
[SVN r18355]
2003-05-08 08:53:39 +00:00
Dave Abrahams
d48633dfa3 restore from disk crash
[SVN r18353]
2003-05-08 02:19:10 +00:00
Dave Abrahams
69974b1dee * new/generators.jam: Improved commenting, naming, formatting
(generator.match-rank): Count also requirements when determining the rank,
   not only optional properties.
  (generator.run): Always set 'multiple' to true.


[SVN r18352]
2003-05-08 00:25:27 +00:00
Dave Abrahams
d64de239e9 Enable symlink test for Cygwin, since it's been fixed there.
[SVN r18347]
2003-05-07 16:08:33 +00:00
Dave Abrahams
23b9de2434 Works on Cygwin now
[SVN r18346]
2003-05-07 16:08:04 +00:00
Dave Abrahams
db86b4e2d1 On NT, force backslashes during binding phase so that files will be
found.  This used to be taken care of by path_build, but now that
we're trying to preserve slash direction there, we need this here.


[SVN r18345]
2003-05-07 16:07:40 +00:00
Beman Dawes
d491e47efb Initial commit (after CVS lost previous two)
[SVN r18343]
2003-05-07 12:20:47 +00:00
Beman Dawes
81e70d7299 support comiler path with spaces, plus fix backslashes
[SVN r18338]
2003-05-02 13:49:28 +00:00
Rene Rivera
481156d58d Removed the /LIBPATH option for MSVC compilers as it's causing too much grief.
[SVN r18336]
2003-04-30 17:05:48 +00:00
Dave Abrahams
fc316f438b Bug fix
[SVN r18334]
2003-04-30 01:33:51 +00:00
Dave Abrahams
9016ad3627 Bug fix thanks to Vaclav Vesely <yg-boost-users-at-m.gmane.org>
[SVN r18330]
2003-04-28 19:43:35 +00:00
Vladimir Prus
7451c24c2d 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
Rene Rivera
eec731f9b6 Slightly better explanation of replace.
[SVN r18327]
2003-04-28 14:07:37 +00:00
Vladimir Prus
2ea47952ca Cleanup.
* new/project.jam
  (lookup): If no module is associated with location, don't even try
  to get project attributes.


[SVN r18326]
2003-04-28 08:52:15 +00:00
Vladimir Prus
fb4f4ec1c4 Fix path properties handling bug, noted by Kirill Lapshin.
* new/property.jam
  (translate-paths): Apply 'path.make' to path properties.

* test/path_features.py: Test for the bug.


[SVN r18325]
2003-04-28 08:46:16 +00:00
Vladimir Prus
f13754c0e2 Fix problem with absolute paths for sources, noted by Kirill Lapshin.
* new/virtual-target.jam
  (from-file): Pass target name via "path.make".
  (abstract-file-target.actual-name): Pass target name via "path.native".

* test/absolute_sources.py: New test.


[SVN r18324]
2003-04-28 07:55:53 +00:00
Vladimir Prus
ea5ce3aaf8 Add test-config.jam skeleton.
[SVN r18323]
2003-04-28 07:45:02 +00:00
Vladimir Prus
ca7535c04c Update modification dates.
[SVN r18322]
2003-04-28 06:53:47 +00:00
Dave Abrahams
098bd7ebb1 Patched boost-base.jam to allow rules in stage target requirements
Fixed grammar in build_system.htm
Added vc7.1-tools.jam/.html for msvc 7.1
Updated the regex lib Jamfile to build correctly-named libraries


[SVN r18319]
2003-04-27 14:10:52 +00:00
Rene Rivera
69e76f312f Added a "replace" rule to do global string replacements.
[SVN r18316]
2003-04-26 06:20:49 +00:00
Vladimir Prus
86cec50017 Bump the version number.
[SVN r18308]
2003-04-25 06:11:27 +00:00
Vladimir Prus
eed39b3a87 Clarify installation docs, using suggestions from Ansgar Philippsen.
[SVN r18307]
2003-04-25 06:10:55 +00:00
Vladimir Prus
514c5d90b1 Document first version of release procedure
[SVN r18304]
2003-04-24 12:28:02 +00:00
Vladimir Prus
3b69d3f2db Don't import compilers modules
[SVN r18303]
2003-04-24 12:04:25 +00:00
Vladimir Prus
814b4d6989 Fix mistaken commit
[SVN r18302]
2003-04-24 11:49:34 +00:00
Vladimir Prus
0cf454aa99 Fix mistaked commit
[SVN r18301]
2003-04-24 11:46:49 +00:00
Vladimir Prus
766a5f19ae Add a script for making distributions
[SVN r18300]
2003-04-24 11:35:40 +00:00